ExcelReady
CourseFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before the interview. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Function guides
  • Blog

Product

  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Comparisons
  3. VLOOKUP vs INDEX MATCH: Differences and When to Use Each

VLOOKUP vs INDEX MATCH: Differences and When to Use Each

By ExcelReady Team·Updated October 30, 2026·7 min read

The short answer

Use VLOOKUP for quick lookups to the right in a table that won't change shape. Use INDEX MATCH when you need to look left, when columns may be inserted, or when you want a two-way lookup. Both work in every version of Excel, so INDEX MATCH is the flexible choice when XLOOKUP isn't available.

Key takeaways

  • VLOOKUP can only return a column to the right of the column it searches. INDEX MATCH can return any column.
  • VLOOKUP uses a typed column number, so an inserted column can make it return the wrong data. INDEX MATCH points at ranges, which move with the data.
  • Both need an exact-match setting: FALSE at the end of VLOOKUP, 0 at the end of MATCH.
  • Both work in every Excel version, unlike XLOOKUP.
On this page+
  1. VLOOKUP vs INDEX MATCH at a glance
  2. How VLOOKUP and INDEX MATCH work
  3. The same lookup solved both ways
  4. When to use VLOOKUP
  5. When to use INDEX MATCH
  6. Common mistakes with VLOOKUP and INDEX MATCH
  7. Which one do Excel tests and interviews ask for?
  8. Our recommendation
  9. Practise it

The short answer to VLOOKUP vs INDEX MATCH: use VLOOKUP for a simple lookup to the right, and use INDEX MATCH when you need to look left, expect columns to move, or need a two-way lookup. Both work in every version of Excel. This guide is for anyone who knows VLOOKUP and wants to know when INDEX MATCH is worth the extra typing, for work or for an Excel test.

VLOOKUP vs INDEX MATCH at a glance#

INDEX MATCH does everything VLOOKUP does, plus a few things VLOOKUP can't, in exchange for a longer formula.

FeatureVLOOKUPINDEX MATCH
Syntax=VLOOKUP(value, table, col_num, FALSE)=INDEX(return_range, MATCH(value, lookup_range, 0))
Functions usedOneTwo, one inside the other
Look to the leftNoYes
Return columnA number you countA range you select
A column is insertedCan return the wrong columnKeeps working
Exact matchAdd FALSE as the 4th partAdd 0 as MATCH's 3rd part
Two-way lookupPossible, with MATCH as the column numberYes, INDEX with two MATCHes
Excel versionsAll versionsAll versions
Easy for beginnersEasierTakes a little practice

How VLOOKUP and INDEX MATCH work#

VLOOKUP does the search and the return in one function. INDEX MATCH splits the job into two steps: MATCH finds the row, and INDEX brings back the value.

Excel formula
=VLOOKUP(lookup_value, table_array, col_index_num, FALSE)
=INDEX(array, row_num, [column_num])
=MATCH(lookup_value, lookup_array, 0)
  • VLOOKUP searches the first column of table_array and returns the value from column number col_index_num of the same row. The VLOOKUP function guide covers each part.
  • INDEX returns the item at a position in a range. =INDEX(B2:B7,3) returns the 3rd name. See the INDEX function guide.
  • MATCH does the opposite: it finds a value and returns its position, such as 4 for the 4th row. See the MATCH function guide.

Put MATCH inside INDEX and you get a lookup: MATCH works out the position, and INDEX reads that position from any column you choose.

The same lookup solved both ways#

The clearest comparison is the same task on the same data. Here is a small staff list:

ABCD
1Emp IDNameDepartmentSalary
2E101Priya ShahFinance52,000
3E102Tom ReedSales48,000
4E103Ana LopezHR45,500
5E104Omar HaddadSales51,000
6E105Julia SantosFinance60,000
7E106Ken ItoIT57,000

Task 1: find a department by ID (a lookup to the right)#

With E104 in F2, both formulas return Sales:

Excel formula
=VLOOKUP(F2,A2:D7,3,FALSE)
=INDEX(C2:C7,MATCH(F2,A2:A7,0))

VLOOKUP finds E104 in column A and returns column 3 of the table. In the second formula, MATCH finds E104 at position 4 of A2:A7, and INDEX returns the 4th item of C2:C7. For a lookup like this, VLOOKUP is shorter and just as correct.

Task 2: find an ID by name (a lookup to the left)#

Now F2 holds Julia Santos, and you want her ID. The IDs are in column A, to the left of the names. VLOOKUP can't do this: it always searches the first column of its table, so =VLOOKUP(F2,A2:D7,1,FALSE) looks for the name among the IDs and returns #N/A. INDEX MATCH can:

Excel formula
=INDEX(A2:A7,MATCH(F2,B2:B7,0))

MATCH finds Julia Santos at position 5 of B2:B7, and INDEX returns the 5th ID: E105.

Task 3: a two-way lookup#

F2 holds E106 and F3 holds a column header, Salary. You want the value where that row and that column meet. Both functions can do it with MATCH finding the column number:

Excel formula
=VLOOKUP(F2,A2:D7,MATCH(F3,A1:D1,0),FALSE)
=INDEX(A2:D7,MATCH(F2,A2:A7,0),MATCH(F3,A1:D1,0))

Both return 57,000. MATCH(F3,A1:D1,0) finds Salary at position 4 in the header row. The INDEX version is more flexible, because its row MATCH can search any column, not only the first.

Task 4: what happens when you insert a column?#

VLOOKUP's column number is typed by hand, so it doesn't change when the table changes. INDEX MATCH points at ranges, and Excel moves ranges for you.

Say a colleague inserts a new Location column between Name and Department. Excel updates the VLOOKUP table from A2:D7 to A2:E7, but the 3 stays a 3. Column 3 is now Location, so the formula quietly returns a city instead of a department, with no error. The INDEX MATCH formula changes from C2:C7 to D2:D7 by itself and keeps returning the department.

If a column is deleted and VLOOKUP's number is now past the edge of the table, it shows #REF! instead.

When to use VLOOKUP#

Use VLOOKUP when the lookup is simple and the table is stable. It is a good choice when:

  • The value you want is to the right of the column you search, as in Task 1.
  • The table won't change shape, or you control it.
  • A job test asks for VLOOKUP by name. Many still do; our guide on how to pass an Excel test for a job interview covers what else they check.
  • Colleagues need to read the formula. One function with four parts is easier to follow than two nested ones.

When to use INDEX MATCH#

Use INDEX MATCH when you need flexibility and XLOOKUP isn't available. It is the better choice when:

  • You need to look left, as in Task 2.
  • Columns may be inserted or moved in a shared file.
  • You need a two-way lookup that matches a row and a column header.
  • You want a calculated position, such as the ID of the highest-paid employee: =INDEX(A2:A7,MATCH(MAX(D2:D7),D2:D7,0)) returns E105.
  • The file must open in Excel 2019 or older, where XLOOKUP shows #NAME?.

If you have Excel 2021, Excel 2024 or Microsoft 365, XLOOKUP does all of this in one function. Our comparison of INDEX MATCH vs XLOOKUP explains when each one wins.

Common mistakes with VLOOKUP and INDEX MATCH#

Most wrong answers come from a few habits that are easy to fix:

  1. Leaving out the exact-match part. VLOOKUP without FALSE and MATCH without 0 both use an approximate match. On unsorted data they can return the wrong row with no error.
  2. Ranges that start on different rows. In =INDEX(A2:A7,MATCH(F2,B1:B7,0)), MATCH counts the header too, so every position is one too high. Julia Santos would return E106, Ken Ito's ID. Start both ranges on the same row.
  3. Counting VLOOKUP's column from column A of the sheet. The count starts at the first column of table_array. In a table that starts at column F, column G is 2.
  4. Swapping INDEX and MATCH's ranges. INDEX gets the column you want back. MATCH gets the column you search.
  5. Not locking ranges before filling down. Use $A$2:$A$7 (press F4 on Windows or ⌘T on a Mac) before you fill with Ctrl+D (⌘D on a Mac).
  6. Hidden spaces or numbers stored as text. "E104 " with a trailing space doesn't match "E104", so both functions return #N/A. Clean the value with TRIM first.

Which one do Excel tests and interviews ask for?#

Both. Practical tests often ask for VLOOKUP by name, and interviewers often ask you to explain the difference between VLOOKUP and INDEX MATCH. A good spoken answer is one sentence: "VLOOKUP can only look right and breaks when columns move; INDEX MATCH separates the search column from the return column, so it can look in any direction."

For more questions like this, see our list of Excel interview questions with answers you can practise. Once lookups feel easy, the same "simple vs flexible" choice comes up with SUMIF vs SUMIFS.

Our recommendation#

Learn VLOOKUP first, then learn INDEX MATCH. VLOOKUP is the quickest way to do a simple lookup to the right, and you need it for tests and for reading older files. INDEX MATCH is the tool to reach for when you need to look left, when the table may change, or when the file must work in older Excel.

In short: VLOOKUP for simple lookups to the right, INDEX MATCH for everything else when XLOOKUP isn't available.

Practise it#

Try the exercise on this page: it is a left lookup that VLOOKUP can't do. Then practise VLOOKUP exact match in a live spreadsheet and work through the INDEX and MATCH lesson, which ends with a two-way lookup.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

The ID column is to the left of the names, so VLOOKUP can't do this. In G2, use INDEX and MATCH to return the Emp ID of the employee named in F2.

fx
ABCDEFGH
1
Emp ID
Name
Department
Salary
Name
Emp ID
2
E101
Priya Shah
Finance
52000
Omar Haddad
3
E102
Tom Reed
Sales
48000
4
E103
Ana Lopez
HR
45500
5
E104
Omar Haddad
Sales
51000
6
E105
Julia Santos
Finance
60000
7
E106
Ken Ito
IT
57000
8
9
10

Tip: INDEX gets the column you want back (the IDs). MATCH finds F2 in the names. End MATCH with 0 for an exact match.

Practise this in a lesson

LessonVLOOKUP exact matchPull product names and prices from a catalog with VLOOKUP, and lock the table so the formula fills down cleanly.LessonINDEX and MATCHCombine INDEX and MATCH to look up in any direction, including returning a column to the left of the one you search.Function guideVLOOKUPLearn VLOOKUP with clear examples, the 4 most common mistakes, and a live practice exercise you can try in your browser.Function guideINDEXLearn the Excel INDEX function: return a value by row and column position, build two-way lookups with MATCH, and practice live.Function guideMATCHLearn how Excel's MATCH finds the position of a value, why the 0 matters, and how it powers INDEX/MATCH. Includes a live exercise.

Frequently asked questions

Is INDEX MATCH better than VLOOKUP?

+

INDEX MATCH is more flexible: it can look left, it keeps working when columns are inserted, and it handles two-way lookups. VLOOKUP is shorter and easier to read for a simple lookup to the right.

Why can't VLOOKUP look to the left?

+

VLOOKUP always searches the first column of the table you give it and counts return columns to the right of it. INDEX MATCH separates the search column from the return column, so the return column can be on either side.

What does the 0 mean in MATCH?

+

The 0 tells MATCH to find an exact match. Without it, MATCH uses match type 1, an approximate match that expects the list to be sorted from smallest to largest, and it can return the wrong position.

Should I learn VLOOKUP or INDEX MATCH first?

+

Learn VLOOKUP first because it is simpler and many job tests ask for it by name. Then learn INDEX MATCH, which interviewers often ask about as the next step up.

Do VLOOKUP and INDEX MATCH work in Excel 2016?

+

Yes. Both work in every version of Excel, including Excel 2016, Excel 2019, Microsoft 365 and Excel for the web.

Sources

  • VLOOKUP function - Microsoft Support
  • INDEX function - Microsoft Support
  • MATCH function - Microsoft Support

Written and checked by the ExcelReady Team. First published October 30, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. VLOOKUP vs INDEX MATCH at a glance
  2. How VLOOKUP and INDEX MATCH work
  3. The same lookup solved both ways
  4. When to use VLOOKUP
  5. When to use INDEX MATCH
  6. Common mistakes with VLOOKUP and INDEX MATCH
  7. Which one do Excel tests and interviews ask for?
  8. Our recommendation
  9. Practise it

Keep reading

Comparisons· 7 min read

INDEX MATCH vs XLOOKUP: Is INDEX MATCH Still Worth Learning?

Yes, INDEX MATCH is still worth learning. XLOOKUP is shorter and has a built-in "not found" message, so use it for new files when everyone has Excel 2021, Excel 2024 or Microsoft 365. INDEX MATCH works in every version, appears in many existing workbooks, and still comes up in interviews.

Comparisons· 8 min read

SUMIF vs SUMIFS: What's the Difference?

SUMIF adds up numbers that meet one condition. SUMIFS adds up numbers that meet one or more conditions, and every condition must be true. The other big difference is argument order: SUMIF puts the range to add last, while SUMIFS puts it first. Both work in every current version of Excel.

Comparisons· 7 min read

COUNT vs COUNTA vs COUNTBLANK

COUNT counts only cells that hold numbers, including dates. COUNTA counts every cell that isn't empty: numbers, text, TRUE or FALSE, and errors. COUNTBLANK counts the empty cells. Use COUNT for numeric data, COUNTA for "how many entries" and COUNTBLANK for "how many are missing". All three work in every Excel version.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback. The first lessons are free, with no download.

Start learning for free