The IFS function in Excel evaluates multiple conditions and returns a value for the first condition that is TRUE. It is a cleaner and easier-to-read alternative to nested IF statements, especially when you need to test several logical conditions in sequence.
In This Guide, You’ll Learn
- What the IFS function does
- The syntax and arguments of IFS
- How to replace nested IF formulas with IFS
- How to use IFS for grading systems and status labels
- Common mistakes when using IFS
- Practical examples of the IFS function in Excel
What is the IFS Function?
The IFS function checks multiple conditions in order and returns the result tied to the first TRUE condition.
It is commonly used for grading scales, performance categories, commission structures, inventory statuses, and other multi-condition logic tests.
IFS Function Syntax
=IFS(logical_test1,value_if_true1,logical_test2,value_if_true2,…)
Argument Definitions
- logical_test1 — The first condition to evaluate
- value_if_true1 — The value returned if the first condition is TRUE
- logical_test2 — The second condition to evaluate
- value_if_true2 — The value returned if the second condition is TRUE
Additional logical tests and results can continue as needed
Example Dataset Used in This Tutorial
You can download the sample data we’ll be using in this tutorial by clicking on this link—> IFS Function Data
Why Use IFS Instead of Nested IF Statements?
Before the IFS function existed, Excel users often created long nested IF formulas that became difficult to read and maintain.
Example of a nested IF:
=IF(A2>=90,"A",IF(A2>=80,"B",IF(A2>=70,"C","F")))
The IFS version is much cleaner:
=IFS(A2>=90,"A",A2>=80,"B",A2>=70,"C",TRUE,"F")
The IFS version is easier to understand, edit, and troubleshoot.
Basic IFS Function Example
Suppose you want to assign performance ratings based on sales totals.

Use this formula:
=IFS(A2>=9000,"Excellent",A2>=7000,"Good",A2>=5000,"Average",TRUE,"Needs Improvement")
Excel evaluates the conditions from left to right and stops once it finds the first TRUE condition.

Using IFS for Letter Grades
The IFS function is extremely common for grading systems.
Use this formula:
=IFS(A2>=90,"A",A2>=80,"B",A2>=70,"C",A2>=60,"D",TRUE,"F")

How It Works
- Scores 90 and above return A
- Scores between 80–89 return B
- Scores between 70–79 return C
- Scores between 60–69 return D
- All remaining scores return F
Important Rule: Order Matters
The IFS function evaluates conditions in order.
If you place lower thresholds first, your formula may return incorrect results.
Incorrect example:
=IFS(A2>=60,"D",A2>=70,"C",A2>=80,"B",A2>=90,"A")
This formula would return “D” for a score of 95 because Excel stops at the first TRUE condition.
Always structure conditions from most restrictive to least restrictive.

Using TRUE as a Default Condition
Unlike some other functions, IFS does not automatically provide a default value if none of the conditions are met.
To create a fallback result, use TRUE as the final logical test.
Example:
=IFS(A2="North","Region A",A2="South","Region B",TRUE,"Other")
If none of the earlier conditions are TRUE, Excel returns “Other”.
Combining IFS with AND
You can combine IFS with other logical functions like AND.
Example:
=IFS(AND(A2>=90,B2="Yes"),"Bonus Eligible",A2>=90,"High Performer",TRUE,"Standard")
This formula checks multiple conditions together.

Common IFS Function Errors
Forgetting a Default Result
If none of the conditions are TRUE and no fallback condition exists, Excel returns:
#N/A
Using TRUE as the final condition prevents this issue.
Incorrect Condition Order
Since IFS stops at the first TRUE result, placing conditions in the wrong order can produce incorrect answers.
Always place the most specific or highest-value conditions first.
Using Too Many Conditions
IFS formulas can become difficult to maintain if they contain too many conditions.
If your logic becomes extremely complex, consider using:
- SWITCH
- XLOOKUP with lookup tables
- INDEX and MATCH
- Helper columns
Practical Uses for the IFS Function
The IFS function is commonly used for:
- Employee performance ratings
- Student grading systems
- Commission structures
- Inventory status labels
- Shipping priority categories
- Budget variance analysis
- Customer segmentation
IFS vs IF Function
| Function | Best Use |
|---|---|
| IF | Simple single-condition logic |
| IFS | Multiple conditions without nesting |
If you only need one condition, IF is usually simpler.
If you need several conditions, IFS is often cleaner and easier to manage.
Example Dataset Used in This Tutorial
You can download the sample data we’ll be using in this tutorial by clicking on this link—> IFS Function Data








