Nested IF Exercise: Classify Customers into A, B, C

Reading time: 3 minutes

One IF gives two answers. But what if you need three? Classifying customers into categories A, B and C is a classic business need, and it is where many Excel users get stuck. The answer is a nested IF: a second IF placed inside the first one. The order of the tests is the key: if you test in the wrong order, every customer ends up in the same category.

The following exercise trains you to build a nested IF step by step, then to write the same logic with the modern IFS function.

What you will practice in this exercise

You work on a customer list with their revenue. You answer 6 questions, one formula per question:

  • Classify each customer as A, B or C (nested IF)
  • Fill the category down the column
  • Give the right discount for each category (nested IF on text)
  • Fill the discount down the column
  • Write the same classification with IFS (modern syntax)
  • Fill the IFS formula down the column

Practice with exercises

Nested IF — Customer category A/B/C
🔒 Members only

Nested IF — Customer category A/B/C
Classify customers into categories A, B or C by revenue, then apply the discount.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *

Nested IF Exercise: Classify Customers into A, B, C

Reading time: 3 minutes

One IF gives two answers. But what if you need three? Classifying customers into categories A, B and C is a classic business need, and it is where many Excel users get stuck. The answer is a nested IF: a second IF placed inside the first one. The order of the tests is the key: if you test in the wrong order, every customer ends up in the same category.

The following exercise trains you to build a nested IF step by step, then to write the same logic with the modern IFS function.

What you will practice in this exercise

You work on a customer list with their revenue. You answer 6 questions, one formula per question:

  • Classify each customer as A, B or C (nested IF)
  • Fill the category down the column
  • Give the right discount for each category (nested IF on text)
  • Fill the discount down the column
  • Write the same classification with IFS (modern syntax)
  • Fill the IFS formula down the column

Practice with exercises

Nested IF — Customer category A/B/C
🔒 Members only

Nested IF — Customer category A/B/C
Classify customers into categories A, B or C by revenue, then apply the discount.

Subscribe →

Related articles

Excel exercises: practice online with instant correction

All the exercises in this series are based on real cases found on Excel forums. Each one answers a question that Excel users really ask.

Leave a Reply

Your email address will not be published. Required fields are marked *