IFS function in Excel
Checks whether one or more conditions are met and returns a value that corresponds to the first TRUE condition.
=IFS(logical_test1, value_if_true1, [logical_test2…logical_test127], [value_if_true2…value_if_true127])IFS syntax and parameters
Four arguments, two required.
- logical_test1booleanRequired
Condition that evaluates to TRUE or FALSE.
- value_if_true1anyRequired
Result to be returned if logical_test1 evaluates to TRUE. Can be empty.
- logical_test2…logical_test127booleanRepeating
Condition that evaluates to TRUE or FALSE.
- value_if_true2…value_if_true127anyRepeating
Result to be returned if logical_testN evaluates to TRUE. Each value_if_trueN corresponds with a condition logical_testN. Can be empty.
IFS examples
Formulas you'll actually reuse.
Grade banding without nested IFs — the TRUE arm is the catch-all:
=IFS(B2 >= 90, "A", B2 >= 80, "B", B2 >= 70, "C", TRUE, "Needs review")Result
"B"Status from a date column, empty cells called out explicitly:
=IFS(C2 = "", "Missing date", C2 > TODAY(), "Scheduled", TRUE, "Done")Result
"Scheduled"
IFS in Google Sheets
Same name — your formula ports as-is.
Try IFS in the playground
Edit the example — nothing to install.
Preloaded with the IFS formula from Example 1 — change anything and watch it respond.
IFS errors
What they mean — and the fixes.
#N/AEvery condition evaluated to FALSE — add a final `TRUE, <fallback>` pair as the default arm.
Related functions
More ways Excel gets this done.
- LAMBDACreate custom, reusable and call them by a friendly nameLogicalGoogle Sheets
- LETAssigns names to calculation resultsLogicalGoogle Sheets
- AVERAGEIFReturns the average (arithmetic mean) of all the cells in a range that meet a given criteriaStatisticalGoogle Sheets
- CELLReturns information about the formatting, location, or contents of a cellThis function is not available in Excel for the web.InfoGoogle Sheets
- CSCReturns the cosecant of an angleMathGoogle Sheets
- FILTERFilters a range of data based on criteria you defineLookupGoogle Sheets