Premium exercise · Excel lookup functions
VLOOKUP practice: commission bracket
Practice approximate-match Excel VLOOKUP by finding the commission rate for a sales amount in sorted brackets.
A2:B5 is a commission table sorted from the lowest sales threshold to the highest. D2 is this month's sales.
In E2, use an approximate VLOOKUP to return the rate for the highest threshold that does not exceed the sales.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C | D | E |
|---|---|---|---|---|---|
| 1 | Sales at least | Rate | Sales | Rate | |
| 2 | 0 | 0.02 | 7500 | Formula goes in E2. formula | |
| 3 | 5000 | 0.04 | |||
| 4 | 10000 | 0.06 | |||
| 5 | 20000 | 0.08 |
Hint
TRUE, or omitting the last argument, finds the closest threshold that is less than or equal to the lookup value. The first column must be sorted ascending.
Explanation
This exercise practices VLOOKUP in Excel. The formula goes in E2.
Approximate VLOOKUP stops at the last threshold that is still less than or equal to 7,500. That row is 5,000, and the rate in column 2 is 0.04. The table has to stay sorted.
The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.