IFS
Supported, behaves as documentedCategory: Logical · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =IFS(A1>90,"A",A1>80,"B",TRUE,"C") | First TRUE condition wins; TRUE literal acts as catch-all | B | B | Matched |
| =IFS(A1>90,"A",A1>95,"B") | No condition true and no catch-all -> #N/A | #N/A | #N/A | Matched |
| =IFS(A1>0,"pos",A1>10,"big") | Conditions evaluated left-to-right; first match short-circuits | pos | pos A1>10 is also true but never reached |
Matched |
| =IFS(TRUE,"always",A1>0,"pos") | TRUE as the first condition always wins regardless of position | always | always | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation