Bird
Raised Fist0
Excelspreadsheet~10 mins

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

Choose your learning style10 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.

Practice

(1/5)
1. What does the IFS function do in Excel?
easy
A. Tests multiple conditions and returns the value for the first true one.
B. Adds numbers in a range.
C. Finds the average of numbers.
D. Sorts data alphabetically.

Solution

  1. Step 1: Understand the purpose of IFS

    The IFS function checks several conditions one by one.
  2. Step 2: Identify the output behavior

    It returns the value linked to the first condition that is true.
  3. Final Answer:

    Tests multiple conditions and returns the value for the first true one. -> Option A
  4. Quick Check:

    IFS returns first true condition value [OK]
Hint: Remember: IFS stops at first true condition [OK]
Common Mistakes:
  • Thinking IFS sums values
  • Confusing IFS with AVERAGE
  • Assuming IFS sorts data
2. Which of these is the correct syntax for the IFS function in Excel?
easy
A. =IFS(condition1; value1; condition2; value2)
B. =IFS(value1, condition1, value2, condition2)
C. =IFS(condition1, value1, condition2, value2, TRUE, default_value)
D. =IFS(condition1 value1 condition2 value2)

Solution

  1. Step 1: Recall IFS syntax rules

    IFS requires pairs: condition, then value, separated by commas.
  2. Step 2: Check each option's format

    =IFS(condition1, value1, condition2, value2, TRUE, default_value) uses correct comma separators and pairs conditions with values properly.
  3. Final Answer:

    =IFS(condition1, value1, condition2, value2, TRUE, default_value) -> Option C
  4. Quick Check:

    Correct IFS syntax uses condition-value pairs separated by commas [OK]
Hint: Pairs: condition then value, separated by commas [OK]
Common Mistakes:
  • Using semicolons instead of commas
  • Swapping condition and value order
  • Missing commas between pairs
3. Given the formula =IFS(A1>90, "A", A1>80, "B", A1>70, "C", TRUE, "F") and cell A1 contains 85, what will be the result?
medium
A. "A"
B. "F"
C. "C"
D. "B"

Solution

  1. Step 1: Evaluate conditions in order with A1=85

    Check if 85 > 90 (false), then 85 > 80 (true).
  2. Step 2: Return value for first true condition

    Since 85 > 80 is true, return "B" immediately.
  3. Final Answer:

    "B" -> Option D
  4. Quick Check:

    First true condition value is "B" [OK]
Hint: Check conditions top to bottom, stop at first true [OK]
Common Mistakes:
  • Choosing "A" because 85 is close to 90
  • Ignoring order of conditions
  • Selecting default "F" incorrectly
4. Identify the error in this formula: =IFS(A1>90, "A", A1>80, "B", A1>70, "C") when A1 is 65.
medium
A. Too many conditions for IFS function.
B. Missing a default TRUE condition for fallback value.
C. Conditions are not in descending order.
D. Incorrect use of quotation marks around letters.

Solution

  1. Step 1: Check what happens if no condition is true

    With A1=65, none of the conditions (A1>90, A1>80, A1>70) are true.
  2. Step 2: Identify missing fallback condition

    Without a final TRUE condition, IFS returns #N/A error when no conditions match.
  3. Final Answer:

    Missing a default TRUE condition for fallback value. -> Option B
  4. Quick Check:

    Always include TRUE fallback to avoid errors [OK]
Hint: Always end IFS with TRUE for default value [OK]
Common Mistakes:
  • Forgetting default TRUE condition
  • Thinking order of conditions causes error
  • Assuming quotation marks cause error
5. You want to assign grades based on scores in cell B2 using IFS: 90+ = "Excellent", 80-89 = "Good", 70-79 = "Average", below 70 = "Poor". Which formula correctly implements this?
hard
A. =IFS(B2>=90, "Excellent", B2>=80, "Good", B2>=70, "Average", TRUE, "Poor")
B. =IFS(B2>90, "Excellent", B2>80, "Good", B2>70, "Average", TRUE, "Poor")
C. =IFS(B2>=90, "Excellent", B2>80, "Good", B2>70, "Average", TRUE, "Poor")
D. =IFS(B2>90, "Excellent", B2>=80, "Good", B2>=70, "Average", TRUE, "Poor")

Solution

  1. Step 1: Understand grade ranges and conditions

    Grades include 90 and above as "Excellent", 80 to 89 as "Good", 70 to 79 as "Average", below 70 as "Poor".
  2. Step 2: Check condition operators for correct ranges

    Use >= for lower bounds to include boundary values correctly.
  3. Step 3: Verify fallback condition

    TRUE at the end covers scores below 70 with "Poor".
  4. Final Answer:

    =IFS(B2>=90, "Excellent", B2>=80, "Good", B2>=70, "Average", TRUE, "Poor") -> Option A
  5. Quick Check:

    Use >= for inclusive ranges and TRUE fallback [OK]
Hint: Use >= for boundaries and TRUE last for default [OK]
Common Mistakes:
  • Using > instead of >= causing boundary errors
  • Missing TRUE fallback condition
  • Incorrect order of conditions
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard