0
0
Excelspreadsheet~10 mins

IFS function (multiple conditions) in Excel - Cell-by-Cell Formula Trace

Choose your learning style9 modes available
Sample Data

This table shows student scores in column A. We want to assign grades in column B using the IFS function based on score ranges.

CellValue
A1Score
A285
A372
A460
A545
A630
B1Grade
Formula Trace
=IFS(A2>=80, "A", A2>=70, "B", A2>=60, "C", A2>=50, "D", TRUE, "F")
Step 1: A2>=80
Step 2: Since first condition is TRUE, IFS returns "A"
Cell Reference Map
    A       B
1 |Score | Grade
2 |  85  |  -> Formula here
3 |  72  |
4 |  60  |
5 |  45  |
6 |  30  |
The formula in B2 references cell A2 to check the score and assign a grade.
Result
    A       B
1 |Score | Grade
2 |  85  |   A
3 |  72  | 
4 |  60  | 
5 |  45  | 
6 |  30  |
The formula in B2 evaluates the score 85 and assigns grade 'A' because 85 is >= 80.
Sheet Trace Quiz - 3 Questions
Test your understanding
What grade will be assigned if the score in A3 is 72 using the same formula?
AA
BB
CC
DF
Key Result
IFS(condition1, value1, condition2, value2, ..., TRUE, default_value) returns the value for the first TRUE condition.