Explanation
Imagine a company that uses a tiered commission structure for its sales team.
Each salesperson is assigned a commission rate based on the total sales they have made.
directly inside the formulas if you prefer, and Excel will correctly evaluate the percentage values.
If so, it returns 0.1 as the commission rate.
If not, it proceeds to the next IF statement.
The second IF statement is nested inside the first.
It checks if the sales amount is less than or equal to $20,000.
If so, it returns 0.15 as the commission rate.
If so, it returns 0.2 as the commission rate.
If not, it returns 0.25.
For more examples of nested if formulas, seeHow to use the IF functionand19 tips for nested if formulas.
More than one condition can be tested by nesting IF functions.
Use the IFS function to evaluate multiple conditions without multiple nested IF statements.