How to use VLOOKUP in Excel to find data in a table

VLOOKUP searches the first column of a table for a value and returns something from the same row. It suits anyone who needs to pull matching data from a list, such as a price from a product code. You need a table with the lookup value in its leftmost column.

YouTube video: Here is how to use VLOOKUP in Excel 🤯

YouTube’s video details do not confirm captions. Check CC in the player for available tracks.

Other videos for this task

Video length
1 min 1 s
Time to do it
10 minutes
Difficulty
Easy
Steps
7

What you need

Steps

  1. Open your workbook and click the cell where you want the result to appear.

  2. Type =VLOOKUP( to start the formula.

  3. Enter the lookup value, such as a product code or a cell reference like A2, then type a comma.

  4. Select the table range, making sure the column with the lookup value is the leftmost one, then type a comma.

  5. Enter the column number you want to return, counting the first column of the range as 1, then type a comma.

  6. Type FALSE for an exact match, close the bracket and press Enter.

  7. Drag the fill handle down to copy the formula to other rows.

Tips and common mistakes

VLOOKUP only looks to the right of the lookup column, so place the key column first.

Use FALSE for exact matches; TRUE can return wrong results on unsorted data.

Wrap the formula in IFERROR to show a blank instead of #N/A when no match is found.

Questions

Why does my VLOOKUP return #N/A?

The lookup value was not found in the first column of the range, or the value types differ, such as text versus number. Check for extra spaces and make sure the range starts at the key column.

Can VLOOKUP look to the left?

No. It only returns values from columns to the right of the lookup column. Use INDEX and MATCH, or XLOOKUP in newer Excel versions, to search in any direction.

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