ExcelUnpackUnpack Excel, one formula at a time.
Log inSign up

Lesson 39 · Lookups

Approximate match in Excel

With TRUE at the end, VLOOKUP finds the closest level that is not bigger than your number. It is perfect for grade bands, tax brackets and discount levels.

Practice this lesson →Pro lesson. The first 4 lessons are free.

What you will learn

  • Find which level a number belongs to
  • Know when to use TRUE

How it works

With TRUE at the end, VLOOKUP finds the biggest level that is not more than your number.

The first column must go from smallest to largest. This is great for levels and grade bands.

Formulas at a glance

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

Example

Write the formula to find Ana's rate.

ABCDEF
1RepSalesRateCommissionSales fromRate
2Ana$8,200.00$0.002%
3Ben$31,500.00$10,000.004%
4Cleo$54,000.00$25,000.006%
5Dev$12,000.00$50,000.008%
6Eli$25,000.00
7Total

Click C2 and type =VLOOKUP(B2,$E$2:$F$5,2,TRUE), then press Enter.

The answer is 2%.

When to use it

  • Grade bands from scores
  • Discount levels from order size
  • Shipping cost by weight

Common mistakes

  • The first column is not sortedSort the levels from smallest to largest.
  • Using FALSE for bandsFALSE needs an exact match. Use TRUE for levels.
  • Missing the lowest levelStart the table at 0 so every number has a level.

Quick check

The levels start at 0, 10,000, 25,000 and 50,000. Which level is 31,500 in?

  1. 10,000
  2. 25,000
  3. 50,000
  4. No match
Show the answer

B. 25,000 25,000 is the biggest level that isn't more than 31,500.

Practice it on a real sheet

Reading is a start. Doing it is how it sticks. This lesson walks you through every click on a live spreadsheet and checks each answer.

Approximate match in Excel: how it works, with examples · ExcelUnpack