Logic function
Excel IFS function
IFS checks a list of conditions in order and returns the value paired with the first one that is TRUE. It is a cleaner way to write grade bands, shipping tiers, or commission rates than stacking IFs inside each other.
=IFS(test1, value1, [test2, value2], ...)Arguments
test1- The first condition to check.
value1- What to return if test1 is TRUE.
test2, value2- More condition and result pairs, checked in order. You can add up to 127 pairs.
IFS examples
Every result below was calculated live from this sample sheet.
| A | B | C | |
|---|---|---|---|
| 1 | Order | Total | Region |
| 2 | SO-2041 | 245 | West |
| 3 | SO-2042 | 38.5 | East |
| 4 | SO-2043 | 1120 | West |
| 5 | SO-2044 | 96 | South |
Result: Silver
A $245 order skips the Gold test and matches Silver.
Result: Gold
The $1,120 order matches the first test, so it is Gold.
Result: #N/A
No test is true for $38.50, so IFS returns #N/A.
Result: Standard
End with TRUE as a catch-all so every order gets a label.
How to use IFS
- Click the cell for the result.
- Type =IFS( and the first condition, then a comma and its result.
- Add more condition and result pairs, most restrictive first.
- Finish with TRUE and a default value, then close the bracket.
Common IFS mistakes
No default at the end
If nothing matches, IFS returns #N/A. Add TRUE,"Other" as the last pair.
Conditions in the wrong order
IFS stops at the first TRUE. Put B2>=1000 before B2>=200, or everything big lands in the smaller band.
An unpaired argument
Every test needs a value. An odd number of arguments makes Excel refuse the formula.
IFS FAQ
What is the difference between IF and IFS in Excel?
IF tests one condition and has a false branch. IFS tests many conditions in a flat list but has no else branch, so you add TRUE as the last test instead.
How do I add an else to IFS in Excel?
Use TRUE as the final test: =IFS(A2>90,"A",A2>80,"B",TRUE,"C"). TRUE always matches, so it acts as the default.
Why is IFS not available in my Excel?
IFS arrived in Excel 2019 and Microsoft 365. Older versions such as Excel 2016 show #NAME?, so use nested IFs there.
Practice IFS in these lessons
Guides that use IFS
- Excel IF statement with multiple conditions
- How to write a nested IF in Excel
- Excel formula for letter grades
- Excel formulas cheat sheet: the 25 everyone should know
Related functions
IFPicks a result from a testANDTrue if all tests are trueORTrue if any test is trueXLOOKUPModern lookup in any direction
Updated 2026-10-31