Lookup Functions
Intermediate

VLOOKUP approximate match for bands

Find which band a number falls into, with the table sorted by each band's starting point.

Task:

Commission depends on the band a rep's sales fall into: the table in E2:F5 lists where each band starts. In C2:C7 give each rep's commission rate.

Interactive Spreadsheet

Hints

+5 XPno-hints bonus

Solve it on your own to keep the bonus. Each hint gets one step closer to the formula.

The data in this exercise

This is the grid you start with. Cell references in the task — B6, C2 — point at the row numbers and column letters below.

7 rows × 6 columns6 cells you fill in
ABCDEF
1RepSalesRateBand fromRate
2Aisha420000.02
3Bruno1250050000.04
4Chen5000100000.06
5Dana27800200000.08
6Emil19999
7Fatima0
What this exercise teachesMay contain the answer

An exact match would fail on almost every figure — nobody sells exactly 10,000. Approximate match turns the table into bands: 12,500 is not in it, so VLOOKUP settles on 10,000, the last start point it passes. Write each band's lower limit, not its upper one, and keep the column sorted.