0
0
Excelspreadsheet~10 mins

Managing multiple rules 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 apply multiple rules to assign a result in column B based on the score.

CellValue
A1Score
A245
A375
A490
A560
B1Result
Formula Trace
=IF(A2>=80,"Pass",IF(A2>=50,"Retake","Fail"))
Step 1: A2>=80
Step 2: IF(A2>=50,"Retake","Fail")
Step 3: Final result
Cell Reference Map
    A      B
1 |Score |Result
2 |  45  |  ?  
3 |  75  |  ?  
4 |  90  |  ?  
5 |  60  |  ?  

Arrows: B2 formula references A2, B3 references A3, etc.
Column B cells use formulas that reference the corresponding score in column A to decide the result.
Result
    A      B
1 |Score |Result
2 |  45  | Fail 
3 |  75  | Retake
4 |  90  | Pass 
5 |  60  | Retake
The results in column B show 'Fail' for scores below 50, 'Retake' for scores between 50 and 79, and 'Pass' for scores 80 and above.
Sheet Trace Quiz - 3 Questions
Test your understanding
What result does the formula give for a score of 90?
APass
BRetake
CFail
DError
Key Result
Nested IF formulas check multiple conditions in order, returning the first true condition's result.