Excel IFS Function
IFS checks tests in order and returns the result for the first TRUE test.
Use it when a formula needs several branches, such as grading bands, priority labels, tiered statuses, or cleaner alternatives to deeply nested IF formulas.
IFS syntax & arguments
Syntax
=IFS(logical_test1, value_if_true1, [logical_test2, value_if_true2], ...)
-
1
logical_test1
RequiredThe first test Excel evaluates as TRUE or FALSE.
-
2
value_if_true1
RequiredThe result to return when
logical_test1is TRUE. -
3
logical_test2, value_if_true2
Optional RepeatableAdditional test-and-result pairs. Excel checks them in order and returns the result for the first TRUE test.
Example
=IFS(C2>=90, "A", C2>=80, "B", TRUE, "Review")
Return A for scores at least 90, B for scores at least 80, and Review for everything else.
IFS caveats
-
The first TRUE test wins
Put narrower conditions before broader ones. In a score formula, test
C2>=90beforeC2>=80. -
There is no automatic fallback
If no test is TRUE, IFS returns
#N/A. Add a final pair such asTRUE, "Review"when every input should return something. -
Tests and results must stay paired
Every logical test needs a matching result. A missing result leaves the formula incomplete.
-
Complex tests still need logical helpers
Use AND or OR inside a logical test when one branch depends on multiple conditions.
Only choosing between two outcomes? A single IF is usually clearer when there is only one TRUE/FALSE decision.
Intro IFS practice problem
Solve the intro problem directly here, or open it on its own page.
Advanced IFS practice problems
Use IFS alongside other Excel functions in realistic, less-prescriptive challenges.