IFS function in Google Sheets
Evaluates multiple conditions and returns a value that corresponds to the first true condition.
=IFS(condition1, value1, [condition2, value2, …])IFS syntax and parameters
Four arguments, two required.
- condition1anyRequired
The first condition to be evaluated. This can be a boolean, a number, an array, or a reference to any of those.
- value1anyRequired
The returned value if condition1 is TRUE.
- condition2anyOptional
- value2anyRepeating
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 Excel
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 Google Sheets gets this done.
- LAMBDACreates and returns a custom function with a set of names and a formula_expression that uses them. To calculate the formula_expression, you can call the returned function with as many values as the name declares.LogicalExcel
- LETAssigns name with the value_expression results and returns the result of the formula_expression. The formula_expression can use the names defined in the scope of the LET function. The value_expressions are evaluated only once in the LET function even if the following value_expressions or the formula_expression use them multiple times.LogicalExcel
- AVERAGEIFReturns the average of a range depending on criteria.StatisticalExcel
- CELLReturns the requested information about the specified cell.InfoExcel
- CSCReturns the cosecant of an angle provided in radians. .MathExcel
- FILTERReturns a filtered version of the source range, returning only rows or columns which meet the specified conditions.FilterExcel