What you will learn
- Choose between many answers with IFS
- End IFS with TRUE as a catch-all
How it works
IFS(test1, answer1, test2, answer2, …). Put the highest test first.
End with TRUE, "F" so every other score gets an answer.
Note: IFS works in Excel 2019 and newer, and in Microsoft 365. In older Excel it shows #NAME?. Use nested IF instead.
Formulas at a glance
=IFS(B2>=90,"A",B2>=80,"B",TRUE,"C") | The pattern to follow |
Example
Write the formula with IFS to give Ana a grade: A for 90+, B for 80+, C for 70+, otherwise F.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Student | Score | Grade | Temp | Feels |
| 2 | Ana | 92 | 85 | ||
| 3 | Ben | 85 | 62 | ||
| 4 | Cleo | 71 | 45 | ||
| 5 | Dev | 66 | 78 | ||
| 6 | Eli | 79 | 90 | ||
| 7 | Fay | 98 | 58 |
Click C2 and type =IFS(B2>=90,"A",B2>=80,"B",B2>=70,"C",TRUE,"F"), then press Enter.
The answer is A.
When to use it
- Letter grades
- Rating levels like Gold, Silver, Bronze
- Anywhere a nested IF gets long
Common mistakes
- Getting #N/A for some rowsEnd with TRUE,"F" so every other value gets an answer.
- Seeing #NAME?IFS needs Excel 2019 or newer, or Microsoft 365. Use nested IF in older Excel.
- Putting the lowest test firstPut the highest test first.
Practice it on a real sheet
Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.