SB
Sheets Bootcamp
Intermediate 7 min read

VLOOKUP Approximate vs Exact Match in Google Sheets

Learn the difference between VLOOKUP approximate match (TRUE) and exact match (FALSE) in Google Sheets. When to use each with step-by-step examples.

SB

Sheets Bootcamp

March 14, 2026 ยท Updated April 24, 2026

VLOOKUP in Google Sheets has a fourth argument that controls how it searches: exact match (FALSE) or approximate match (TRUE). Most tutorials only cover exact match, but approximate match is the right tool for grading scales, tax brackets, commission tiers, and any lookup where values fall between thresholds.

This guide explains how both modes work, when to use each, and why leaving the argument blank is dangerous.

In This Guide

Exact Match vs Approximate Match

The fourth argument in VLOOKUP (is_sorted) controls the search behavior:

ValueModeHow it searchesUse case
FALSEExact matchFinds the search key exactly as enteredProduct IDs, employee names, specific codes
TRUEApproximate matchFinds the largest value โ‰ค the search keyGrade scales, tax brackets, commission tiers
Formula
=VLOOKUP(search_key, range, index, TRUE or FALSE)
โŠ˜ Warning

If you omit the fourth argument, VLOOKUP defaults to TRUE (approximate match). On unsorted data, this returns wrong results without any error message. Always specify FALSE unless you need approximate matching on sorted data.

How Exact Match Works (FALSE)

Exact match is the more common mode. VLOOKUP scans the first column for a value that matches your search key character for character.

Formula
=VLOOKUP("SKU-103", A2:D6, 4, FALSE)

This searches column A for the exact text โ€œSKU-103โ€ and returns $35.00 from column D.

If the value does not exist, VLOOKUP returns #N/A. There is no ambiguity: it either finds the value or it does not.

VLOOKUP exact match returning $35.00 for SKU-103

When to use exact match:

  • Looking up product IDs, employee IDs, or codes
  • Matching names or text values
  • Any time the search key must exist exactly in the data

How Approximate Match Works (TRUE)

Approximate match finds the largest value in the first column that is less than or equal to your search key. The first column must be sorted in ascending order.

Consider this grading scale:

Score ThresholdGrade
0F
60D
70C
80B
90A
Formula
=VLOOKUP(85, A2:B6, 2, TRUE)

The score 85 does not appear in column A. VLOOKUP finds the largest threshold โ‰ค 85, which is 80, and returns โ€œB.โ€

VLOOKUP approximate match returning grade B for score 85

Here is how VLOOKUP evaluates each row:

ThresholdComparisonResult
085 โ‰ฅ 0Possible match
6085 โ‰ฅ 60Better match (closer)
7085 โ‰ฅ 70Better match
8085 โ‰ฅ 80Best match (largest โ‰ค 85)
9085 < 90Too high, skip

VLOOKUP returns the row for threshold 80 because it is the largest value that does not exceed 85.

Step-by-Step: Grade Calculator with Approximate Match

1

Set up a grading scale table sorted in ascending order

Create the grading scale in columns A and B. The score thresholds must be sorted from lowest to highest. Enter a student score (85) in cell D2.

Grading scale table with thresholds sorted ascending and score in D2

2

Write the VLOOKUP formula with TRUE for approximate match

Enter the following formula in cell E2:

Formula
=VLOOKUP(D2, A2:B6, 2, TRUE)

D2 is the student score. A2:B6 is the grading scale. 2 returns the Grade column. TRUE enables approximate matching.

VLOOKUP formula with TRUE for approximate match in formula bar

3

Review how approximate match selects the correct row

The formula returns โ€œBโ€ because 85 falls between the 80 threshold (B) and 90 threshold (A). VLOOKUP picks 80 as the match.

VLOOKUP approximate match result showing grade B for score 85

Change D2 to 92 and the result updates to โ€œA.โ€ Change it to 55 and the result is โ€œF.โ€

โš  Important

The thresholds must be sorted in ascending order. If you rearrange the rows (put 90 before 60, for example), VLOOKUP returns wrong results silently.

The Default Trap: Omitting the Fourth Argument

VLOOKUP defaults to TRUE when you leave out the fourth argument:

Formula
=VLOOKUP("SKU-103", A2:D6, 4)

This formula uses approximate match even though you probably want exact match. If the data happens to be sorted alphabetically, it may return a result that looks correct. If the data is not sorted, it returns the wrong value with no warning.

This is the most common source of VLOOKUP bugs. Two formulas that look nearly identical produce different results:

FormulaModeResult
=VLOOKUP("SKU-103", A2:D6, 4, FALSE)Exact$35.00 (correct)
=VLOOKUP("SKU-103", A2:D6, 4)Approximate (default)May return wrong value

Comparison of VLOOKUP with and without FALSE showing different results

โŠ˜ Warning

Always include the fourth argument. Typing , FALSE takes two seconds. Debugging a wrong result caused by the default TRUE on unsorted data takes much longer.

Common Errors and How to Fix Them

Wrong Result (No Error Message)

This is the most dangerous outcome. VLOOKUP returns a value, but it is the wrong value. It happens when:

  • You use TRUE on unsorted data
  • You omit the fourth argument (defaults to TRUE)

Fix: Sort the first column in ascending order, or switch to FALSE for exact match.

#N/A Error with Approximate Match

With TRUE, VLOOKUP returns #N/A only when the search key is smaller than every value in the first column. For example, looking up a score of -5 in a grading scale that starts at 0.

Fix: Add a row with the lowest possible value (0 in a grading scale) to catch all inputs.

#N/A Error with Exact Match

The search key does not exist in the first column. Check for typos, extra spaces, or mismatched data types (text vs number).

Fix: Use TRIM to clean data, or wrap in IFERROR to handle missing values: =IFERROR(VLOOKUP(D2, A2:B6, 2, FALSE), "Not found").

Tips and Best Practices

  1. Default to FALSE for everyday lookups. Exact match is the right choice for product IDs, names, and codes. Only use TRUE when your data represents ranges or thresholds.

  2. Sort ascending before using approximate match. VLOOKUP with TRUE requires the first column sorted from smallest to largest (numbers) or A to Z (text). There is no error message if this requirement is not met.

  3. Use approximate match for grading, tiering, and bracketing. Tax brackets, shipping rates, commission schedules, and performance ratings are natural fits.

  4. Test edge cases. For a grading scale from 0 to 90, test values like 0 (lowest threshold), 59 (just below next tier), 60 (on a threshold), and 100 (above highest threshold).

  5. Consider INDEX MATCH for complex scenarios. INDEX MATCH does not have a built-in approximate match mode, but combining it with MAX or MATCH gives you the same result with more flexibility.

Frequently Asked Questions

What is the difference between TRUE and FALSE in VLOOKUP?

FALSE finds an exact match for your search key. TRUE finds the largest value less than or equal to your search key (approximate match). FALSE is the safer default. TRUE requires sorted data and returns wrong results silently if the first column is not sorted in ascending order.

When should I use approximate match in VLOOKUP?

Use approximate match (TRUE) for range-based lookups like grading scales, tax brackets, commission tiers, or shipping rates where values fall between thresholds rather than matching exactly.

What happens if I omit the last argument in VLOOKUP?

VLOOKUP defaults to TRUE (approximate match). This catches many beginners off guard because the formula appears to work but may return incorrect results on unsorted data. Always specify FALSE unless you intentionally need an approximate match.

Does approximate match VLOOKUP require sorted data?

Yes. The first column of your range must be sorted in ascending order (A to Z or smallest to largest). If the data is not sorted, VLOOKUP with TRUE returns unpredictable results without any error message.

Can approximate match VLOOKUP return the wrong result?

Yes. If the first column is not sorted in ascending order, approximate match returns incorrect values without triggering an error. This makes it one of the most common sources of silent spreadsheet mistakes.

Frequently Asked Questions

Next Steps

Continue learning with these related tutorials: