Dashboard Mode - IFS function
Goal
We want to quickly assign a grade to each student based on their score using multiple conditions.
We want to quickly assign a grade to each student based on their score using multiple conditions.
| Student | Score |
|---|---|
| Alice | 92 |
| Bob | 85 |
| Charlie | 73 |
| Diana | 67 |
| Edward | 58 |
| Fiona | 45 |
IFS function to assign grades based on score ranges.=IFS(B2>=90, "A", B2>=80, "B", B2>=70, "C", B2>=60, "D", B2<60, "F")+-----------------------------+ | Student | Score | Grade | |---------|-------|-----------| | Alice | 92 | A | | Bob | 85 | B | | Charlie | 73 | C | | Diana | 67 | D | | Edward | 58 | F | | Fiona | 45 | F | +-----------------------------+
You can change any student's score in the Score column. The Grade column will automatically update because the IFS formula recalculates the grade based on the new score.
For example, if you change Diana's score from 67 to 82, the grade will update from "D" to "B" immediately.
Try changing Edward's score to 75. What grade does he get now? (Answer: "C")
Try changing Fiona's score to 60. What grade does she get now? (Answer: "D")