Formula Guide

The Excel IFS Function
explained simply

IFS tests conditions in order and returns the result for the first true one — no nested IFs needed. Cleaner, easier to read, easier to maintain.

ExcelPro · 6 min read · Updated June 2026

What does it do?

IFS tests multiple conditions in order and returns the value for the first condition that is true. It replaces long chains of nested IF formulas with a single, readable formula. Read it as "if this, then this; if this other thing, then this; otherwise this".

Syntax

=IFS(logical_test1, value_if_true1, [logical_test2, value_if_true2], ..., [TRUE, default])
ArgumentDescription
=IFS(logical_test1, value_if_true1, [logical_test2, value_if_true2], ..., [TRUE, default])
logical_test1 requiredThe first condition to test.
value_if_true1 requiredWhat to return if the first condition is true.
TRUE, default optionalUse TRUE as a final catch-all condition — it always matches, acting as an "else" or default.

Real examples

Example 1
Degree classification
=IFS(B2>=70,"First",B2>=60,"2:1",B2>=50,"2:2",TRUE,"Fail")

Much cleaner than three nested IFs.

Example 2
Performance rating
=IFS(B2>=90,"Exceptional",B2>=75,"Strong",B2>=60,"Meets",TRUE,"Below")
Example 3
Tax band
=IFS(B2>125000,45%,B2>50000,40%,B2>12570,20%,TRUE,0)

Returns the tax rate for different income bands.

Example 4
Shipping tier
=IFS(C2<50,"Standard",C2<100,"Express",TRUE,"Priority")
Example 5
Age category
=IFS(B2<18,"Minor",B2<65,"Adult",TRUE,"Senior")

FAQ

What happens if no condition is true and there is no TRUE catch-all?
IFS returns a #N/A error. Always include TRUE as the last condition with a default value to avoid this.
What is the maximum number of conditions IFS can test?
127 condition-value pairs in Excel 2019 and later.
When should I use CHOOSE instead of IFS?
CHOOSE is cleaner when the conditions are simply consecutive integers (1, 2, 3...). IFS is more flexible for range-based or mixed conditions.

IFS vs nested IF — when to switch

Nested IF formulas work fine up to two or three levels. =IF(A2>70,"First",IF(A2>60,"2:1","Lower")) is readable. But when you get to four or five nested IFs, the formula becomes very hard to read, debug, and maintain. Counting closing parentheses alone is error-prone.

IFS solves this by listing conditions and results in order, left to right, without nesting. The conditions are evaluated in sequence — the first one that is TRUE returns its result and evaluation stops. This means condition order matters: always put the most specific condition first. =IFS(A2>=70,"First",A2>=60,"2:1",A2>=50,"2:2",TRUE,"Fail") works because 70 is checked before 60.

The TRUE at the end is important — it acts as the catch-all else clause. Without it, if none of the conditions match, IFS returns #N/A. Adding TRUE as the final condition with a default value ensures IFS always returns something.

💡 IFS requires Excel 2019+

IFS is not available in Excel 2016 or Google Sheets (though Google Sheets has now added it). For maximum compatibility use nested IF or consider CHOOSE if conditions map to integers.

Practise this formula live

ExcelPro has exercises covering this formula across multiple tracks. Free to start.

Try exercises →

Related formulas

IF AND OR CHOOSE IFERROR SUMIFS