KutoolsforOffice — One Suite. Five Tools. Get More Done.

Exact Match vs. Approximate Match in VLOOKUP in Excel

AuthorXiaoyangLast modified

VLOOKUP is one of the most commonly used lookup functions in Excel. It searches for a value in the first column of a table and returns a corresponding value from another column in the same row.

One of the most important parts of VLOOKUP is deciding whether to use an exact match or an approximate match. Choosing the wrong match type can return an unexpected result, especially when working with price tables, grading scales, commission rates, or other range-based data.

With Kutools for Excel's Formula Helper Plus, the Exact match vs. approximate match in VLOOKUP formula makes this easier. Instead of manually remembering the VLOOKUP syntax, you only need to specify the Lookup value, Table array, Column index, and Range lookup option. Kutools then generates and inserts the corresponding VLOOKUP formula for you.
 exact match and approximate match in vlookup


What Is Exact Match vs. Approximate Match in VLOOKUP?

The standard syntax of the VLOOKUP function is:

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

The last argument, range_lookup, determines how Excel searches for the lookup value. It supports two matching modes:

  • FALSE or 0 – Exact Match: Excel searches for a value that exactly matches the lookup value.
  • TRUE or 1 – Approximate Match: Excel finds an exact match if available; otherwise, it uses the largest value that is less than or equal to the lookup value.

The two modes are designed for different lookup tasks. The key difference is the final argument:

Match Typerange_lookupBehaviorTypical Use
Exact MatchFALSE or 0Finds the lookup value exactlyProduct IDs, employee IDs, order numbers, names
Approximate MatchTRUE or 1Finds an exact match or the largest value less than or equal to the lookup valueGrades, tax rates, commissions, discounts, price tiers
Exact Match

Find this value exactly. If it does not exist, return an error (#N/A).

Approximate Match

If an exact value exists, Excel returns that match. Otherwise, it returns the result associated with the largest value that is less than or equal to the lookup value.

⚠ Important: When using approximate match, the values in the first column of the lookup table must be sorted in ascending order. Otherwise, VLOOKUP may return an incorrect result.

Advantages of Using Formula Helper Plus

1. No need to memorize the VLOOKUP syntax

VLOOKUP contains four arguments, and it can be easy to forget their order or the meaning of the last argument. Formula Helper Plus displays each argument separately, so you can configure the formula through a visual interface.

2. Makes exact and approximate matching easier to understand

The Range_lookup field allows you to specify whether VLOOKUP should perform an exact or approximate match without manually constructing the entire formula.

3. Reduces formula-entry errors

Instead of typing cell references and table ranges manually, you can select them directly from the worksheet. This helps reduce incorrect references, missing commas, and other formula syntax errors.

4. Conveniently uses an absolute table reference

The Table_array_Abs argument lets you specify the lookup table with an absolute reference, such as: $E$2:$G$10. This is especially useful when you need to copy or fill the resulting formula down multiple rows because the lookup table remains fixed.

5. Provides many other ready-to-use formulas

Formula Helper Plus includes numerous commonly used and more complex formulas for lookup, counting, date, text, logical, mathematical, and other Excel tasks. This allows you to solve many worksheet problems without manually building complicated formulas.

6. Supports custom formulas

In addition to the built-in formulas, Formula Helper Plus allows you to create and save your own formulas and add descriptions or instructions, making frequently used formulas easier to understand and reuse.


How to Use Exact Match vs. Approximate Match in VLOOKUP?

The Exact match vs. approximate match in VLOOKUP feature in Formula Helper Plus makes it easier to create VLOOKUP formulas without manually entering the complete syntax. Simply specify the lookup value, lookup table, return column, and matching mode, and the corresponding VLOOKUP formula will be generated for you.

Example 1: Perform an Exact Match

An exact match is useful when you need VLOOKUP to find a value that matches the lookup value exactly, such as a product ID, employee number, order number, or customer code. In this example, we will use Formula Helper Plus to find the price of a product based on its unique Product ID.

Suppose you have the following data table and want to return an exact match using VLOOKUP. Please follow these steps:

 data sample

1. Select a blank cell where you want to return the lookup result.

2. Click Kutools > Formula Helper > Formula Helper Plus.

 enable formula helper window

3. In the Formula Helper Plus dialog box, switch to the Online tab.

1) Select Lookup from the Category list.

2) Select Exact match vs. approximate match in VLOOKUP from the formula list. You can also enter keywords in the search box to quickly locate the formula.

3) Configure the following arguments:

  • Lookup_value: Select the cell containing the value you want to search for.
  • Table_array_Abs: Select the lookup table.
  • Col_index: Enter the number of the column from which the result should be returned. The first column of the selected table is 1, the second is 2, and so on.
  • Range_lookup: Enter FALSE to perform an exact match.
 specify the options

4. Click OK to insert the formula into the selected cell. After the result is returned, you can drag the fill handle down to apply the formula to additional rows when necessary.

 get the result
💡 Tip: When using an exact match, set Range_lookup to FALSE. If the lookup value cannot be found exactly in the first column of the lookup table, VLOOKUP returns #N/A.

Example 2: Perform an Approximate Match

An approximate match is useful when the lookup value does not need to match a value exactly, but instead needs to fall within a defined range. It is commonly used for tasks such as assigning grades, commission rates, discount levels, tax brackets, or performance ratings.

Suppose you have the following table and want to return a performance rating based on a score using an approximate VLOOKUP match. Please follow these steps:

 data sample

1. Select a blank cell where you want to return the lookup result.

2. Click Kutools > Formula Helper > Formula Helper Plus.

3. In the Formula Helper Plus dialog box, switch to the Online tab.

1) Select Lookup from the Category list.

2) Select Exact match vs. approximate match in VLOOKUP from the formula list. You can also enter keywords in the search box to quickly locate the formula.

3) Configure the following arguments:

  • Lookup_value: Select the cell containing the value you want to search for.
  • Table_array_Abs: Select the lookup table.
  • Col_index: Enter the number of the column from which the result should be returned. The first column of the selected table is 1, the second is 2, and so on.
  • Range_lookup: Enter True to perform an approximate match.
 set options in the dialog box

4. Click OK to insert the formula and return the value corresponding to the closest lower match in the first column of the lookup table. You can then drag the fill handle down to apply the formula to other cells.

 result by kutools
💡 Note: When using an approximate match, make sure the values in the first column of the lookup table are sorted in ascending order. Otherwise, VLOOKUP may return an incorrect result.

Exact Match vs. Approximate Match

The main difference between the two modes is how VLOOKUP handles a lookup value that does not appear exactly in the lookup table.

FeatureExact MatchApproximate Match
Range_lookupFALSE or 0TRUE or 1
Requires exact valueYesNo
Result when exact value is missingUsually #N/AFinds the nearest lower threshold
First column must be sortedNoYes, normally ascending
Best for IDs and codesYesNo
Best for ranges and thresholdsNoYes
Typical usesProduct IDs, employee IDs, namesGrades, discounts, commissions, tax brackets

Important Notes

1
The lookup column must be the first column

VLOOKUP always searches for the lookup value in the first column of the selected table range and returns a value from a column to its right.

2
Sort approximate-match tables in ascending order

When using TRUE for an approximate match, make sure the first column is sorted from smallest to largest. Otherwise, VLOOKUP may return an incorrect result.

3
Approximate matching uses the lower threshold

If an exact value is not found, VLOOKUP returns the result for the largest value that is less than or equal to the lookup value.

4
Check the column index carefully

The Col_index specifies which column in the selected table contains the result. For example, enter 2 to return a value from the second column.

5
Lock the lookup table when copying formulas

Use an absolute reference such as $A$3:$B$10 so the lookup table stays fixed when you copy or fill the formula to other cells.


Frequently Asked Questions

1. What is the main difference between exact and approximate VLOOKUP?

An exact match searches for the exact lookup value and normally returns #N/A if that value does not exist.

An approximate match returns an exact value if available; otherwise, it uses the largest lookup-table value that is less than or equal to the lookup value.

2. Why does approximate VLOOKUP return an incorrect result?

One of the most common causes is that the first column of the lookup table is not sorted in ascending order. Sort the lookup values from smallest to largest before using approximate matching.

3. Does exact match require the lookup table to be sorted?

No. When Range_lookup is FALSE, the first column does not need to be sorted.

4. Can approximate VLOOKUP return an exact value?

Yes. If an exact value exists in the lookup table, approximate VLOOKUP can return that exact match. If no exact value exists, it uses the appropriate lower boundary.

5. Why does VLOOKUP return #N/A?

Common reasons include the lookup value not existing when using exact match, differences between numbers stored as numbers and numbers stored as text, leading or trailing spaces, or an approximate lookup value being smaller than the smallest value in the lookup table. Check the source data and the selected Range_lookup option.

6. What happens if the approximate lookup value is smaller than the smallest value in the table?

VLOOKUP cannot find a qualifying threshold and normally returns: #N/A

For example, if the smallest threshold is 60 and the lookup value is 50, there is no value less than or equal to 50 in the lookup table.

7. Can VLOOKUP search to the left?

No. VLOOKUP searches only the first column of the selected table and returns information from a column to its right.

For lookup scenarios that require searching in any direction, functions such as XLOOKUP or INDEX and MATCH may be more suitable.

8. Is exact VLOOKUP case-sensitive?

No. Standard VLOOKUP is not case-sensitive. Values such as ABC and abc are generally treated as the same lookup value.


Conclusion

Choosing between exact match and approximate match is one of the most important parts of using VLOOKUP correctly.

Use an exact match (FALSE) when the lookup value must match a specific record, such as a product ID, employee ID, order number, or account code. If the exact value does not exist, Excel normally returns #N/A.

Use an approximate match (TRUE) when your lookup table represents ranges or thresholds, such as grades, commission rates, discounts, shipping charges, or tax brackets. For reliable results, make sure the first column of the lookup table is sorted in ascending order.

With Kutools for Excel's Formula Helper Plus, the Exact match vs. approximate match in VLOOKUP feature simplifies both scenarios. Simply specify the Lookup value, Table array, Column index, and Range lookup option, and Kutools generates the corresponding VLOOKUP formula without requiring you to manually remember its syntax.