VLOOKUP vs INDEX MATCH: Which to Use?

Formulas & functions · Updated November 23, 2026

For most lookup tasks in Excel, INDEX MATCH is the more flexible and reliable choice, but VLOOKUP is simpler to learn and still fine for basic exact-match lookups on small tables. If you work with large data, add or delete columns often, or need to look up values to the left of your key column, INDEX MATCH wins; if you want a quick one-function solution and your table layout is stable, VLOOKUP is perfectly adequate.

What VLOOKUP Does

VLOOKUP (Vertical Lookup) searches for a value in the first column of a table and returns a value in the same row from a column you specify. Its syntax is:

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

For example, with product IDs in A2:A10 and prices in B2:B10, to find the price for ID “P100”:

=VLOOKUP("P100", A2:B10, 2, FALSE)

This returns the price from column B. The FALSE argument forces an exact match; TRUE (or omitted) does an approximate match, which requires the first column to be sorted ascending.

Key limitation: VLOOKUP can only look to the right. The lookup column must be the leftmost column of the table array, and the return column index is counted from that leftmost column. If you insert a column in the middle of the table, the column index number may shift, returning the wrong data.

What INDEX MATCH Does

INDEX MATCH is a combination of two functions: INDEX returns the value at a given row and column position in a range, and MATCH returns the position of a lookup value in a row or column. Together, they perform a two-way lookup:

=INDEX(return_range, MATCH(lookup_value, lookup_range, 0))

For the same example, with IDs in A2:A10 and prices in B2:B10:

=INDEX(B2:B10, MATCH("P100", A2:A10, 0))

Here, MATCH finds the row number where “P100” appears in A2:A10 (say row 4), and INDEX returns the value in the 4th row of B2:B10. The 0 in MATCH specifies exact match.

Because the lookup range and return range are separate, you can look up columns to the left, right, or anywhere else. You can also use MATCH for both row and column positions to do a matrix lookup (e.g., find the sales figure at the intersection of a specific product and month).

Key Differences at a Glance

  • Lookup direction: VLOOKUP only looks right; INDEX MATCH can look any direction.
  • Column insertion: VLOOKUP breaks or returns wrong results if you insert a column; INDEX MATCH is unaffected because it references ranges directly.
  • Speed: INDEX MATCH is generally faster on large datasets (thousands of rows) because it only evaluates the two ranges, not the entire table array.
  • Syntax complexity: VLOOKUP has one function; INDEX MATCH has two nested functions, which is harder for beginners.
  • Approximate match: Both support approximate match, but VLOOKUP’s approximate match is often used for tiered lookups (e.g., tax brackets); INDEX MATCH can do the same but requires careful setup.
  • Returning entire row/column: VLOOKUP returns a single value; INDEX can return an entire row or column (e.g., =INDEX(A2:C10, MATCH(...), 0) returns the whole row).

When to Use VLOOKUP

VLOOKUP is still a good choice in these situations:

  • Your table is small (under a few thousand rows) and you won’t insert columns.
  • The lookup column is always the leftmost column of your table.
  • You need a quick, simple formula and you’re comfortable with the limitations.
  • You’re working with a legacy workbook that already uses VLOOKUP extensively.

Example: A simple price list where product codes are in column A and prices in column B, with no plans to add columns. VLOOKUP is straightforward and easy to audit.

When to Use INDEX MATCH

INDEX MATCH is the better choice when:

  • Your lookup column is not the leftmost column (e.g., you want to find a name in column C and return a value from column A).
  • You frequently add or remove columns from the table.
  • You’re working with large datasets (10,000+ rows) and need performance.
  • You need to perform a two-way lookup (by both row and column headers).
  • You want to return an entire row or column of data.

Example: You have a sales table with months in row 1, products in column A, and sales amounts in the grid. To find sales for “Product X” in “June”, you’d use:

=INDEX(B2:G10, MATCH("Product X", A2:A10, 0), MATCH("June", B1:G1, 0))

This is impossible with VLOOKUP alone (you’d need a helper column or a different approach).

Common Problems and Misconceptions

Misconception: VLOOKUP is always slower. In small tables, the difference is negligible. Only on large datasets does INDEX MATCH show a noticeable speed advantage.

Problem: VLOOKUP returns #N/A even though the value exists. This often happens because the lookup value has extra spaces or is stored as text while the table has numbers. Use =TRIM() to clean data, or ensure consistent data types.

Problem: VLOOKUP returns the wrong value after inserting a column. This is the classic pitfall. If you insert a column in the table, the column index number shifts, and the formula silently returns data from the new column. INDEX MATCH avoids this because it references the return range directly.

Misconception: INDEX MATCH is always better. If you never change your table structure and your lookup is always to the right, VLOOKUP is simpler and easier for others to understand. Don’t over-engineer.

Problem: MATCH returns #N/A when using approximate match without sorting. For approximate match (e.g., tiered pricing), the lookup range must be sorted ascending. Otherwise, results are unpredictable.

Alternatives: XLOOKUP and Modern Functions

If you’re using Excel 2021 or Microsoft 365, XLOOKUP is now the best option for most lookups. It combines the simplicity of VLOOKUP with the flexibility of INDEX MATCH:

=XLOOKUP(lookup_value, lookup_range, return_range, [if_not_found], [match_mode], [search_mode])

For the price example:

=XLOOKUP("P100", A2:A10, B2:B10)

XLOOKUP can look left or right, handles missing values gracefully with the if_not_found argument, and supports wildcards and reverse search. It is simpler than INDEX MATCH and more powerful than VLOOKUP.

Other modern functions like FILTER (Excel 2021/365) can return multiple matches, and XMATCH is a more flexible version of MATCH. If you’re on an older version, INDEX MATCH remains a solid choice.

Frequently Asked Questions

Is INDEX MATCH faster than VLOOKUP? In large datasets, yes, because INDEX MATCH only evaluates the lookup and return ranges, not the entire table array. On small tables, the difference is imperceptible.

Can VLOOKUP look to the left? No. VLOOKUP always searches the first column of the table array and returns a value to the right. To look left, use INDEX MATCH or XLOOKUP.

What does the 0 mean in MATCH? The third argument in MATCH specifies match type: 0 for exact match, 1 for approximate match (less than), and -1 for approximate match (greater than). Use 0 for most lookups.

Why does my VLOOKUP return #N/A even though the value is there? Common causes: extra spaces, text vs. number format mismatch, or the lookup value is not in the first column of the table array. Use TRIM and ensure consistent data types.

Is XLOOKUP better than INDEX MATCH? For most users, yes, because it’s simpler and more flexible. However, INDEX MATCH is still useful for backward compatibility with older Excel versions and for certain array operations.

Can I use INDEX MATCH to return multiple values? Yes, by using array formulas or combining with functions like SMALL and IF, but it’s complex. For multiple matches, consider FILTER (Excel 2021/365).

Related

Try it: the Formula Explainer: paste any formula and see each function and reference in plain English.

More in Formulas & functions

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.