Free IFS practice
IFS practice exercises
IFS checks several conditions in order and returns the value for the first one that is true. 4 reps, from easy to hard, each checked in a real spreadsheet engine. 2 free, 2 with Pro.
=IFS(test1, value1, test2, value2, ..., TRUE, value_else)
IFS guide
How to use IFS in Excel
IFS checks several conditions in order and returns the value for the first one that's true. It replaces long chains of nested IFs for tiered results such as grades, bonus bands or shipping rates.
Order matters: put the strictest test first. End with TRUE and a default value, so every row gets an answer. IFS is available in Excel 2019 and later.
Syntax
=IFS(test1, value1, test2, value2, ..., TRUE, value_else)
| Argument | What it is |
|---|---|
test1 | The first condition, such as B2>=6000. |
value1 | What to return if test1 is true. |
test2, value2, ... | More pairs, checked in order. The first true test wins. |
TRUE, value_else | A catch-all at the end: TRUE is always true, so its value is returned when nothing else matched. |
Examples
| A | B | C | |
|---|---|---|---|
| 1 | Rep | Sales | Result |
| 2 | Ana | 5200 | Hit |
| 3 | Ben | 4100 | |
| 4 | Cara | 6100 | |
| 5 | Dev | 5000 |
=IFS(B2>=6000,"Star",B2>=5000,"Hit",TRUE,"Miss") returns Hit.
TRUE catch-all returns Miss.| A | B | C | |
|---|---|---|---|
| 1 | Rep | Sales | Result |
| 2 | Ana | 5200 | |
| 3 | Ben | 4100 | Miss |
| 4 | Cara | 6100 | |
| 5 | Dev | 5000 |
=IFS(B3>=6000,"Star",B3>=5000,"Hit",TRUE,"Miss") returns Miss.
| A | B | C | |
|---|---|---|---|
| 1 | Rep | Sales | Bonus |
| 2 | Ana | 5200 | |
| 3 | Ben | 4100 | |
| 4 | Cara | 6100 | 610 |
| 5 | Dev | 5000 |
=IFS(B4>=6000,B4*10%,B4>=5000,B4*5%,TRUE,0) returns 610.
Common mistakes
Tests in the wrong order
IFS stops at the first true test. Cara's 6100 is also at least 5000, so checking 5000 first labels her Hit instead of Star. Put the highest band first.
Wrong=IFS(B4>=5000,"Hit",B4>=6000,"Star",TRUE,"Miss") → Hit
Right=IFS(B4>=6000,"Star",B4>=5000,"Hit",TRUE,"Miss") → Star
No catch-all at the end
When no test is true, IFS returns #N/A. End with TRUE and a default.
Wrong=IFS(B3>=6000,"Star",B3>=5000,"Hit") → #N/A
Right=IFS(B3>=6000,"Star",B3>=5000,"Hit",TRUE,"Miss") → Miss
IFS questions
What is the difference between IF and IFS?
IF has one test and two outcomes. IFS has as many tests as you need, checked in order, which reads more clearly than IFs nested inside IFs.
Which Excel versions have IFS?
Excel 2019, 2021, 2024, Microsoft 365 and Excel on the web. In older versions, nest IF functions instead.
Why does IFS return #N/A?
None of the tests was true. Add TRUE and a default value as the last pair.
Related functions
Reading is the warm-up
The reps are what make it stick. Try IFS in the practice sheet above.