Excel Formula to Calculate Tiered Commission
In this article
To calculate tiered commission in Excel, you need two things working together: a table of your commission brackets, and a formula that finds which bracket a sales figure falls into and adds the commission earned in each tier below it. The cleanest way is a cumulative formula using SUMPRODUCT, because it adds each tier automatically and handles someone who leaps several tiers in one deal. A simpler alternative is VLOOKUP (or XLOOKUP) against a bracket table for the flat single-rate version. Below are both, in full, with worked examples.
What You'll Need
- Excel (any modern version).
SUMPRODUCTworks everywhere.XLOOKUPneeds Microsoft 365 or Excel 2021 or later; useVLOOKUPorINDEX/MATCHinstead if yours is older. - Your commission structure written down. You need the threshold where each tier starts, and the rate for that tier. Be clear about whether tiers are cumulative (each slice of sales earns its own rate, like income tax) or marginal (the whole amount earns the rate of the tier it reaches).
- A sales figure per person or per deal, sitting in its own cell.
- Two spare columns for the bracket table, plus a couple of rows of space.
Step-by-Step
- Write out your tiers as a table. Put the lower starting amount of each tier in one column (call it the threshold) and the rate for that tier in the next. For example, in cells
A2:B5:
| Threshold | Rate |
|---|---|
| 0 | 3% |
| 10,000 | 5% |
| 25,000 | 7% |
| 50,000 | 10% |
Read this as: the first 10,000 of sales pays 3%, the slice from 10,000 to 25,000 pays 5%, the slice from 25,000 to 50,000 pays 7%, and anything above 50,000 pays 10%. Set the first threshold to 0 so every sales amount falls into at least one tier.
- Enter the helper column for tier widths. In a third column next to each rate, put the width of that tier in sales terms: for the table above that is
10000,15000,25000, and for the top tier give it a very large number so it never runs out. InC2:C5enter10000,15000,25000,999999999. You can calculate them with a formula instead: inC2type=A3-A2and fill down, with the last cell left as a big number. - Put the sales figure in a cell. Say the rep's total sales sits in
E2(for example 27,000). - Write the cumulative commission formula. In the commission cell type:
=SUMPRODUCT((E2>$A$2:$A$5)*((E2-$A$2:$A$5)<$C$2:$C$5)*(E2-$A$2:$A$5)*$B$2:$B$5) + SUMPRODUCT((E2>$A$2:$A$5)*((E2-$A$2:$A$5)>=$C$2:$C$5)*$C$2:$C$5*$B$2:$B$5)This looks intimidating but does one thing: for each tier, it works out how much of the sales figure falls inside that tier and multiplies it by that tier's rate. A sales amount of 27,000 earns 10,000 × 3% + 15,000 × 5% + 2,000 × 7% = 300 + 750 + 140 = 1,190.
- Simplify with a single SUMPRODUCT if you prefer. If every tier's width is calculated as the difference to the next threshold, this shorter version gives the same result:
=SUMPRODUCT((E2>$A$2:$A$5)*(E2-$A$2:$A$5),$B$2:$B$5 - N(+$B$3:$B$6))Here the rates column needs one extra blank row below it (row 6) so the rate differences line up. Test it against the long version before trusting it across a whole sheet.
- Use a lookup formula for a marginal (flat-rate) structure. If instead the whole amount earns the rate of the tier reached, skip the width column and use:
=E2*LOOKUP(E2,$A$2:$A$5,$B$2:$B$5)At 27,000 this returns 27,000 × 5% = 1,350, because 27,000 falls in the 10,000–24,999 tier.
LOOKUPfinds the largest threshold that is less than or equal to the value, which is exactly what you want. - Or use XLOOKUP if you have it. The same marginal result:
=E2*XLOOKUP(E2,$A$2:$A$5,$B$2:$B$5,,-1). The-1means "exact match or the next smaller item" and removes the need to sort the table. - Wrap it for real-world edge cases. Protect against blank or zero sales and against negative returns:
=IF(E2<=0,0,your chosen formula). Drag or copy down the column for every rep. - Set the threshold column to be absolute. All the bracket references must have dollar signs (
$A$2:$A$5) so they don't shift when you copy the formula down. This is the single most common reason a working formula breaks on the second row. - Check the totals by hand. Pick two or three rows and add the tier slices on paper. The formula's output must match. If it does, you can trust it for the rest of the sheet.
Common Mistakes
- Missing dollar signs on the bracket table. The references drift when copied and later rows read the wrong rates or return
#REF!. - Mixing up cumulative and marginal. These give very different answers. Cumulative splits the amount across tiers; marginal applies one rate to the whole amount. Decide which your policy says before you build it.
- Forgetting the zero row. If the first threshold is 10,000 instead of 0, sales below 10,000 may return an error or zero when they should earn the base rate.
- Leaving gaps or overlaps between tiers. Each threshold must equal the previous threshold plus the previous width. One typo and the slices don't add up.
- Entering rates as text. Typing
3%in a cell formatted as Text stores it as text, not a number, and the maths silently fails. Format the column as Percentage first. - Using approximate VLOOKUP without a sorted table. If you go the
VLOOKUProute, the threshold column must be sorted ascending or results will be wrong.
Tips
- Name the bracket range (for example
Tiers) via the Name Box so formulas read more clearly. - Keep the bracket table on its own sheet. Rates change, and a single place to edit means one place to update.
- Add a second output column showing which tier the rep reached, using
=LOOKUP(E2,$A$2:$A$5,$A$2:$A$5), so managers can see the band at a glance. - Build a small test row per tier boundary (9,999, 10,000, 10,001) to prove the cut-offs behave exactly as intended.
- Round the final payout with
ROUND(...,2)to avoid long decimals in payroll reports.
Troubleshooting
The formula returns #VALUE! or zero. Check that every rate is a real number, not text, and that the threshold column is numeric. Select the range and look at the status bar; a count of zero for numbers means Excel is treating them as text.
Results look too low or too high. You have almost certainly picked cumulative when your policy is marginal, or the reverse. Run one row through by hand and compare.
It works on the first row but not below it. The bracket references are relative. Add dollar signs to the threshold, rate and width columns, then re-copy.
A rep above the top tier gets a strange number. The last tier's width must be larger than any realistic sales figure, or the top slice gets cut off. Increase it to a very large value.
The total doesn't match payroll's figure. Confirm the rate list is the current one, that no tier has a gap, and that any bonus or spiff is added separately rather than folded into the bracket table.
Frequently Asked Questions
Can I use IF statements instead?
Yes, but nested IFs get long and error-prone past three tiers, and they are harder to audit. The SUMPRODUCT method scales to any number of tiers.
Which formula should I use, SUMPRODUCT or VLOOKUP?
SUMPRODUCT for cumulative tiers where each slice earns its own rate. A lookup for marginal tiers where the whole amount earns one rate.
Does the bracket table need to be sorted?
For LOOKUP and approximate VLOOKUP, yes, ascending. XLOOKUP with the -1 match mode and the SUMPRODUCT method do not require sorting.
Can I add a cap on total commission?
Yes. Wrap the formula in MIN( your formula , capvalue) so the payout never exceeds the ceiling.
What if a rep's sales are negative due to returns?
Guard against it with an IF returning zero for anything at or below zero, and handle refunds as a separate adjustment rather than letting them flow through the tier table.
Will this work in Google Sheets?
Yes. SUMPRODUCT, LOOKUP and IF behave the same way there. XLOOKUP availability varies, so use LOOKUP if it is missing.