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. You can use it to pull prices, names or IDs from a long list without scrolling. It suits anyone who knows basic Excel formulas and has a table with a unique key in its first column.

YouTube video: How to use Vlookup in Excel // Vlookup in Excel #excel #vlookup

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 4 s
Time to do it
10 minutes
Difficulty
Easy
Steps
7

What you need

Steps

  1. Lay out your data so the lookup value sits in the first column of the table, with the result you want in a column to its right.

  2. Click the cell where you want the result and type =VLOOKUP( to start the formula.

  3. Enter the lookup value, such as a cell reference like A2, followed by a comma.

  4. Select the whole table range, for example B2:D100, and add a comma after it.

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

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

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

Tips and common mistakes

Use FALSE or 0 for exact matches, since TRUE can return wrong results on unsorted data.

The lookup value must be in the first column of your range, or VLOOKUP will fail.

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

Questions

Why do I get #N/A?

No exact match was found in the first column. Check for extra spaces, number stored as text, or a wrong range.

Can VLOOKUP look to the left?

No. It only returns columns to the right of the lookup column. Use INDEX and MATCH or XLOOKUP to search in any direction.

What does the last argument do?

FALSE or 0 forces an exact match. TRUE or 1 allows an approximate match, which is mainly used for sorted ranges like tax brackets.

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