Skip to main content
FlightDeck

Commission tiers with nested IF

Look up a sales rate from a tier table by placing one IF inside another.

20% complete

Training

Commission tier table (example values)
Sales from (KES)Rate
02%
50,0004%
100,0006%

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))
Read it from the outside in. If sales (B2) have reached the top tier in F4, return its rate in G4. Otherwise, run the second IF: if they have reached the middle tier in F3, return G3. If neither is true, the rep is in the first tier, so return G2.

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.