How to use VLOOKUP in Excel to pull matching data

VLOOKUP finds a value in the first column of a table and returns something from the same row. You will build the formula step by step, lock the range so it copies cleanly, and fix the common errors. It suits anyone who has a list or price sheet and needs to match data across two tables in Excel.

YouTube video: How to use VLOOKUP formula in Excel | VLOOKUP in Excel Tutorial

Caption availability is unknown. Check the CC control in the YouTube player.

4 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (4)
Video length
5 min 20 s
Time to do it
10 minutes
Difficulty
Easy
Steps
9

What you need

Steps

  1. Lay out your source table so the value you search for sits in the leftmost column. VLOOKUP can only look to the right, never to the left.

  2. Click the cell where the answer should appear and type =VLOOKUP( to start the formula.

  3. Enter the lookup value first, such as A2 or a text value in quotes like "P1001", then a comma.

  4. Select the whole source table, from the first column to the last, and press F4 to add dollar signs so the range stays fixed.

  5. Type the column index number, counting from the left of your range where the first column is 1, then a comma.

  6. Type FALSE for an exact match, close the bracket and press Enter. Excel returns the matching value from that column.

  7. Drag the fill handle down to copy the formula to the other rows, or copy and paste it into each cell.

  8. Check the results. #N/A means the value is not in the first column, and #REF! means your column index is larger than the range.

  9. Confirm you picked the right return column by counting again from the left edge of the selected range.

Tips and common mistakes

Always press F4 on the table range before copying, or the range slides down and later rows return wrong matches.

Use FALSE, not TRUE, unless your data is sorted and you deliberately want the closest lower match.

Extra spaces break matches, so wrap the lookup value in TRIM if you keep getting #N/A.

The same VLOOKUP formula works in Google Sheets, so you can paste it straight into a spreadsheet there.

Questions

Why does VLOOKUP give #N/A when I can see the value in the table?

Usually the value has a trailing space, is stored as text instead of a number, or sits outside the range you selected. Check the cell format and widen the range to cover the full table.

Can VLOOKUP return a value from a column to the left?

No. VLOOKUP only looks right from the first column. Use INDEX with MATCH, or XLOOKUP in newer Excel versions, when you need to go left.

What does the column index number mean?

It is the position of the answer column inside your selected range, not the column letter. If your range starts at column B and the answer is in column D, the index is 3.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Apps & Software

See all