Learn to pull data from a table with VLOOKUP, then find exact positions with MATCH and INDEX. This suits Excel beginners who know basic formulas. You need a spreadsheet with a lookup table and a value to search for.
YouTube video: Section 4: How to Use VLOOKUP, MATCH & INDEX in Excel | Step-by-Step Guide
Caption availability is unknown. Check the CC control in the YouTube player.
- Video length
- 53 min 21 s
- Time to do it
- 20 minutes
- Difficulty
- Easy
- Steps
- 8
What you need
Steps
Open your workbook and check that the first column of your lookup table holds unique values, like IDs or names. VLOOKUP only searches to the right of that column.
Click an empty cell and type =VLOOKUP(lookup_value, table_array, col_index_num, FALSE). The FALSE makes it an exact match, which is what you usually want.
Fill the arguments: point lookup_value at your search cell, select the whole table for table_array, and count which column number holds the result you want.
Press Enter and check the result. If you see #N/A, the value is not in the first column. If you see #REF!, your column number is larger than the table width.
Lock the table with dollar signs, like $A$2:$D$100, so you can copy the formula down without the range shifting.
To find a row number, type =MATCH(lookup_value, lookup_array, 0). The 0 means exact match. This returns the position of the value inside the range.
Use INDEX to return a value by position: =INDEX(return_range, row_number). Combine it as =INDEX(B2:B100, MATCH(E2, A2:A100, 0)) for a lookup that works in any direction.
Wrap the formula in IFERROR, like =IFERROR(your_formula, "Not found"), so missing values show a clean message instead of an error code.
Tips and common mistakes
VLOOKUP cannot look to the left, so use INDEX-MATCH or XLOOKUP when the result column sits before the search column.
Always use FALSE or 0 for exact matches, or you may get wrong results from approximate matching.
Keep the lookup column free of trailing spaces, since extra spaces cause #N/A errors.
Questions
What is the difference between VLOOKUP and INDEX-MATCH?
VLOOKUP searches only the first column and looks right. INDEX-MATCH can look in any direction and does not break when you insert columns.
Why do I get #N/A with VLOOKUP?
The value is not found in the first column of the table, often because of extra spaces, different number formats or a wrong range.
Should I use XLOOKUP instead?
If your Excel version has it, XLOOKUP is simpler and works both ways. VLOOKUP and INDEX-MATCH still work in all versions.
The notes are drafted automatically from video details and general task knowledge. How the guide was prepared
Report a correction


