AnalystPracticeGuides
DashboardSign up

VLOOKUP approximate match: looking up ranges and bands

With TRUE as the last argument, VLOOKUP finds the largest value that is less than or equal to what you look up. That is exactly what you need for bands: tax brackets, commission rates, discounts or grades. The first column must be sorted from smallest to largest.

Watch it solved. Mistake 2: VLOOKUP without FALSE returns a price for a missing product, from 1:13, in our video “VLOOKUP in Excel: 10 Common Mistakes and How to Fix Them”. Pressing play loads the video from YouTube (privacy). Open on YouTube

What does the table look like?

Put the lower limit of each band in the first column:

Sales fromCommission
00%
100003%
250005%
500008%

With sales in B2 and this table in E2:F5:

=VLOOKUP(B2,$E$2:$F$5,2,TRUE)

Sales of 30,000 return 5%, because 25,000 is the largest limit that is not above 30,000.

Why are my results wrong?

The first column is not sorted. Approximate match then returns values that look plausible but are wrong, with no error.

The table has upper limits instead of lower limits. Use the start of each band.

The value is below the first limit. It returns #N/A, so start the table at 0.

Is there a newer way?

XLOOKUP with match mode -1 (exact or next smaller item) does the same and doesn't need the table sorted: =XLOOKUP(B2,E2:E5,F2:F5,,-1).

Try it yourself. Practise this in a real spreadsheet in your browser, with instant feedback.
Practise VLOOKUP with ranges

Updated November 2026.

← All free guides