0Pricing
Excel Formulas Academy · Lesson

Cleaner Branching With IFS

Replace stacked IF statements with the readable IFS function.

The Problem With Stacked IFs

A single IF handles a yes-or-no choice. But what if you have many outcomes, like turning a score into a letter grade A through F? You would have to nest one IF inside another, again and again.

That nesting gets hard to read, easy to break, and tricky to count the closing parentheses. The IFS function was built to fix exactly this. It lets you list condition-and-result pairs in a clean, flat line.

What Nested IFs Look Like

Here is a grade formula written with nested IF functions. Each IF has another IF as its false branch.

It works, but notice how the parentheses pile up at the end and the logic is hard to scan. Imagine maintaining this with eight branches instead of four.

=IF(A2>=90, "A", IF(A2>=80, "B", IF(A2>=70, "C", "F")))

All lessons in this course

  1. Requiring Everything With AND
  2. Accepting Any Match With OR
  3. Flipping Logic With NOT
  4. Cleaner Branching With IFS
← Back to Excel Formulas Academy