Commission tiers with nested IF
Look up a sales rate from a tier table by placing one IF inside another.
20% complete
Training
| Sales from (KES) | Rate |
|---|---|
| 0 | 2% |
| 50,000 | 4% |
| 100,000 | 6% |
A rep gets the rate of the highest tier they have reached. Selling 87,500 has reached the 50,000 tier but not the 100,000 tier, so the rate is 4%.
=IF(B2>=$F$4,$G$4,IF(B2>=$F$3,$G$3,$G$2))Worked example. Sales are 87,500. Is 87,500 >= 100,000? No, so Excel moves to the inner IF. Is 87,500 >= 50,000? Yes, so the answer is the middle rate, 4%.
Always test the highest tier first. If you test the lowest tier first, every rep passes it and everyone gets 2%.
Use >= (at or above), because a rep who sells exactly 50,000 has reached the 50,000 tier. The $ signs in $F$4 lock the tier table, so the formula still points at the table when you copy it down to the next rep. B2 has no $ signs on purpose: it must move to B3, B4 and so on.
Tip: a table with n tiers needs n - 1 IF functions. The last tier needs no test, because it is what remains. Also note that the simulator stores 4% as 0.04, because it has no number formats.