Excel library
Multiple IF Statements in Excel (Nested IF, IFS, AND, OR)
A single IF formula works well when a cell only has two possible outcomes, such as Pass or Fail, but real spreadsheets rarely stop at two choices. Whether you are assigning performance tiers, checking bonus eligibility across two columns, or flagging orders that meet one of several rules, Excel lets you stack or combine conditions in a single cell. In this tutorial, I'll show you how to use multiple IF statements in Excel with nested IF, IFS, AND, and OR formulas.
- For several ordered tiers in all Excel versions, nest IF functions:
=IF(B2>=90,"Gold",IF(B2>=75,"Silver",IF(B2>=60,"Bronze","Review"))). - For cleaner tiers in Excel 2019 or Microsoft 365, use IFS:
=IFS(B2>=90,"Gold",B2>=75,"Silver",B2>=60,"Bronze",TRUE,"Review"). - To test two columns at once, place AND or OR inside IF:
=IF(AND(B2>=80,C2>=2),"Bonus","No Bonus").
Use IFS for multi-tier ranges in modern Excel, and pair IF with AND or OR when checking more than one column.
Method 1: Write Multiple IF Statements in Excel Using Nested IF
Use a nested IF formula when you need to return one of three or more outcomes and your workbook must open cleanly in every version of Excel. Nesting means placing a second IF function inside the value_if_false argument of the first IF.
Our sample data is in A1:C7, listing each employee in column A, their performance Score in column B, and their Years of service in column C.
- Select cell D1 and type Tier as the column header.
- Select cell D2 and enter the nested IF formula below.
- Press Enter to calculate Maya's tier.
- Drag the fill handle at the bottom-right corner of D2 down to D7 to copy the formula to the remaining rows.
=IF(B2>=90,"Gold",IF(B2>=75,"Silver",IF(B2>=60,"Bronze","Review")))
How this works: Excel evaluates the conditions from left to right and stops at the first test that returns TRUE. For Maya in row 2, B2>=90 is TRUE (94 is at least 90), so Excel immediately returns Gold and ignores the rest of the formula. For Liam (82) and Priya (76), the first test is FALSE, so Excel checks B2>=75 and returns Silver. Noah (63) falls into Bronze, Elena (91) earns Gold, and Omar (54) fails all three tests and receives the final fallback value, Review. If you only need three outcomes, you can also review our focused walkthrough on using the IF function with 3 conditions.
Note: Always order numeric thresholds consistently from highest to lowest (or lowest to highest). If you put B2>=60 before B2>=90, a score of 94 would match the first test and incorrectly return Bronze. Also make sure the number of closing parentheses at the end matches the number of IF functions you opened.
Method 2: Use the IFS Function (Excel 2019 and Microsoft 365)
Use the IFS function when you have Excel 2019, Excel 2021, Excel 2024, or Microsoft 365 and want to avoid deeply nested parentheses. IFS accepts pairs of condition and result arguments in a single flat list, which makes long formulas much easier to read and edit.
We will use the same employee table in A1:C7 and assign the exact same four tiers in column D.
- Select cell D1 and type Tier as the header.
- Select cell D2 and enter the IFS formula below.
- Press Enter to return Gold for row 2.
- Copy the formula down from D2 through D7 using the fill handle.
=IFS(B2>=90,"Gold",B2>=75,"Silver",B2>=60,"Bronze",TRUE,"Review")
How this works: Like nested IF, IFS tests each condition from left to right and returns the result paired with the first TRUE test. Notice the final pair, TRUE,"Review". Because IFS has no built-in value_if_false argument, placing TRUE at the end acts as a catch-all default for any row that did not match an earlier rule, returning Review for Omar's score of 54. For more else-if patterns, see our guide to writing an else-if formula in Excel.
Note: If you omit the final TRUE catch-all and a cell fails every condition, IFS returns a #N/A error. Keep in mind that IFS is not available in Excel 2016 or earlier standalone desktop versions; use Method 1 if anyone opening the file runs an older version.
Method 3: Combine IF with AND When All Conditions Must Be True
Use IF with AND when a row must satisfy two or more rules at the same time before returning the positive result. Instead of nesting separate IF functions, you wrap all required tests inside AND as the logical test of a single IF.
In our table A1:C7, suppose an employee qualifies for a quarterly Bonus only if their Score in column B is at least 80 and their Years in column C is at least 2.
- Select cell D1 and type Bonus as the column header.
- Select cell D2 and type the IF and AND formula below.
- Press Enter to evaluate Maya's bonus eligibility.
- Drag the fill handle from D2 down to D7 to check every employee.
=IF(AND(B2>=80,C2>=2),"Bonus","No Bonus")
How this works: AND(B2>=80,C2>=2) returns TRUE only when both comparisons are true at once. Maya (score 94, 4 years) and Elena (score 91, 2 years) pass both checks and receive Bonus. Liam has a score of 82, but only 1 year of service, so AND returns FALSE and IF outputs No Bonus. Priya, Noah, and Omar meet the tenure rule but fall below the score threshold, so they also return No Bonus. You can explore more multi-column examples in our IF and AND formula tutorial.
Note: Text comparisons inside AND (such as A2="Maya") are not case-sensitive in Excel, and text values must always be wrapped in double quotes. Numbers like 80 and 2 should not have quotes around them.
Method 4: Combine IF with OR When Any Condition Can Be True
Use IF with OR when passing any one of several tests is enough to trigger the positive outcome. OR returns TRUE if at least one argument is true, and returns FALSE only when every argument fails.
Using the same table in A1:C7, suppose an employee is Eligible for a fast-track promotion review if their Score is at least 90 or they have at least 5 Years of service.
- Select cell D1 and enter Fast-Track as the header.
- Select cell D2 and enter the IF and OR formula below.
- Press Enter to test row 2.
- Drag the fill handle down to D7 to fill the rest of the column.
=IF(OR(B2>=90,C2>=5),"Eligible","Standard")
How this works: OR(B2>=90,C2>=5) checks both rules and returns TRUE as soon as either one passes. Maya (score 94) and Elena (score 91) qualify on score, while Priya (5 years) and Omar (6 years) qualify on tenure, giving four Eligible rows in total. Liam (score 82, 1 year) and Noah (score 63, 2 years) miss both thresholds and return Standard.
Combining AND and OR Inside a Nested IF
You can also combine AND, OR, and nested IF in a single formula when you have tiered rules that check multiple columns. For example, this formula awards Top Bonus when both conditions are high, Standard Bonus when either secondary rule is met, and None otherwise:
=IF(AND(B2>=90,C2>=2),"Top Bonus",IF(OR(B2>=80,C2>=5),"Standard Bonus","None"))On our sample table, Maya and Elena return Top Bonus, Liam, Priya, and Omar return Standard Bonus, and Noah returns None.
FAQs
How many IF statements can you nest in Excel?
What is the difference between nested IF and IFS in Excel?
Why does my multiple IF formula return the wrong tier?
Can I use AND and OR inside the IFS function?
When should I replace multiple IF statements with a lookup formula?
Conclusion
For most people writing multiple IF statements in Excel, IFS is the cleanest choice for multi-tier ranges because it eliminates nested parentheses and stays readable as you add rules. Stick with nested IF when you need full compatibility with older Excel versions, and pair IF with AND or OR whenever a decision depends on checking two or more columns at once.