IFS: turn scores into grades

Lesson 11 of 54

IFS checks several conditions in order and returns the value for the first one that is true. It replaces long nested IF formulas.

In cell C2, write a formula that gives a grade: "A" for 90 or more, "B" for 80 or more, "C" for 70 or more, otherwise "F".

C2
ABC
1StudentScoreGrade
2Ana93
3Luis84
4Marta71
5Jorge58

Type in the formula bar above and press Enter to check.

Skip

How IFS works

Syntax

=IFS(condition1, value1, condition2, value2, ..., TRUE, default)
condition1, value1
The first test and what to return if it's true.
condition2, value2...
More pairs, checked in order. The first true one wins.
TRUE, default
A catch-all at the end. Without it, a value that matches nothing returns #N/A.

Example

Customers spending $5,000 or more are Gold, $1,000 or more Silver, everyone else Bronze. Spend is in C2.

=IFS(C2>=5000, "Gold", C2>=1000, "Silver", TRUE, "Bronze")

Start with the highest band, because IFS stops at the first match.

Common mistakes

  • Putting the lowest band first. C2>=1000 would catch $8,000 before it reaches Gold.
  • Forgetting the TRUE catch-all, so unmatched values show #N/A.
  • Using IFS in Excel 2016 or older, where it doesn't exist. Use nested IF there.

Questions people ask

IFS or a lookup table?

For 3–4 bands, IFS is fine. For more, or bands that change, a small table with VLOOKUP (approximate match) is easier to maintain.

Practice it above: type the formula in the formula bar and press Enter to check.