IFS Function in Gnumeric: Syntax, Examples and Compatibility
Use IFS in Gnumeric to return the first matching outcome from several ordered conditions. Two original examples, expected results, cautions and official software documentation.
Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in Gnumeric. How formula examples are checked
Quick answer: return the first matching outcome from several ordered conditions in Gnumeric. The reproducible examples below use explicit values so the formula’s meaning is testable without a large workbook.
Evidence: The function name and syntax are documented in the linked vendor function reference. Expected outputs were independently reasoned or checked outside the application. These are not native Gnumeric test results. A guide being published here does not certify every software release or file-import scenario.
Syntax and arguments
=IFS(logical_test1, value_if_true1, [logical_test2, value_if_true2], ...)
List pairs of condition and return value, ordered by priority. A final TRUE, fallback pair is a common default.
Best use case: Return the first matching outcome from several ordered conditions.
Set up the example sheet
Suppose a quality-control report assigns grades A (90+), B (60–89) and C (below 60). Use literal scores first, then replace 72 with a cell reference.
Enter the formula in an unused cell. For a formula returning several values, leave an unobstructed area where those values can expand. These formulas use comma argument separators in a typical English-language locale; commas or semicolons inside quoted text are data, not argument separators. Adapt the separator if your regional settings require it.
Worked example 1: IFS with known input
=IFS(72>=90,"A",72>=60,"B",TRUE,"C")
Expected output: B.
The first condition fails and the second is true, so IFS returns B without consulting the fallback.
Worked example 2: a second IFS case
=IFS(45>=90,"A",45>=60,"B",TRUE,"C")
Expected output: C.
Both thresholds fail, so the unconditional final branch returns C.
Compare both results before replacing literal values or short sample ranges with your own workbook data. For a spilling formula, compare every output cell, not only the top-left result.
Practical advice and troubleshooting
When this formula helps: Place stricter or more specific tests first. IFS returns the first true branch, so ordering the 60+ test before the 90+ test would misclassify scores.
Important edge case: If none of the conditions is true and there is no fallback, the function can return an error. Supply TRUE as the last condition when a default is needed.
If the result differs, first verify the text-versus-number types of the input cells, the argument separators for your locale, and the range size. For dynamic arrays, inspect occupied cells in the output area. An error that looks like a missing function may reflect a software version rather than incorrect data.
Compatibility and version considerations
Gnumeric documents this function name in its official catalogue. Some implementations are marked subset/no testsuite; import behavior has not been natively tested. IFS behaves similarly for the shown thresholds, but old Excel versions may not implement it and localized formulas may change separators. The Excel/Google comparison is background only, not a claim of identical behavior in Gnumeric.
Check your installed release for availability and dynamic-array support.
Function availability and parameter behavior must be judged for the specific application and release; a function documented in one spreadsheet does not automatically work in another.
Application-specific source note: Gnumeric documents this function name in its official catalogue. Some implementations are marked subset/no testsuite; import behavior has not been natively tested.
Formula separator: These examples use commas for the function-argument separators. Locale settings can change entry conventions.
Related guides and official documentation
-
Gnumeric documentation for IFS — function syntax and current vendor information.
Editorial verification: Function name checked in official vendor catalogue on 2026-10-12. The two example outputs are independently reasoned; no native application run, screenshot, or version-specific output is claimed. Review the editorial testing standards if you require stronger proof before importing a workbook.