How approximate match works
Syntax
=VLOOKUP(value, tier_table, column_number, TRUE)value- The number to place in a tier, such as a score or an amount.
tier_table- A table whose first column holds the lower limit of each tier, sorted smallest to largest.
column_number- The column with the result for each tier.
TRUE- Approximate match: use the last tier whose limit is not above the value.
Example
Shipping cost depends on weight. F2:F5 holds 0, 1, 5, 20 (kg) and G2:G5 holds $5, $8, $15, $40. The package weight is in B2.
=VLOOKUP(B2, $F$2:$G$5, 2, TRUE)A 3.2 kg package falls in the 1 kg tier and costs $8.
Common mistakes
- An unsorted first column. Approximate match assumes ascending order and returns nonsense otherwise.
- Missing a 0 row. A value below the first limit returns #N/A.
- Writing upper limits ("up to 5") instead of lower limits ("from 5") in the first column.
Questions people ask
When should I use TRUE instead of FALSE?
Use TRUE only for ranges and brackets (tax rates, discounts, grades). For IDs, names and codes, always use FALSE.
Practice it above: type the formula in the formula bar and press Enter to check.