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

VLOOKUP pulls a value from a table by matching it against the first column. This guide walks you through writing the formula in Microsoft Excel, locking the range and copying it down a column. It suits beginners who have a list of IDs, names or product codes and need matching details from another sheet.

How to Use VLOOKUP in Excel with a Practical Example, by The Practical Place on YouTube. 8 min 57 s.

Video length
8 min 57 s
Time to do it
10 minutes
Difficulty
Easy
Steps
8

What you need

Steps

  1. Lay out your data so the column you search sits on the left of the table, such as employee ID or product code. VLOOKUP only looks to the right from that column.

  2. Click the cell where you want the answer and type =VLOOKUP( to begin the formula.

  3. Type your lookup value in quotes, or click the cell holding it, then add a comma.

  4. Select the whole table range, then press F4 so it becomes absolute with dollar signs. This keeps the range fixed when you copy the formula.

  5. Type the column number you want back, counting the lookup column as 1. Add a comma.

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

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

  8. Check the results. A #N/A error usually means the value is missing or has extra spaces.

Tips and common mistakes

Always use FALSE or 0 for the last argument, or Excel may return an approximate and wrong match.

The lookup column must be the leftmost column of your range, so build the table with that in mind.

Wrap the formula in IFERROR to show a blank or friendly message instead of #N/A.

If you use Microsoft 365, XLOOKUP does the same job and can look in any direction.

Questions

Why does my VLOOKUP return #N/A?

The lookup value is not in the first column of your range, or it has trailing spaces, different capitals or a number stored as text. Trim the data and check the exact spelling.

What does #REF! mean?

The column number you typed is larger than the number of columns in your selected range. Count the columns again and lower the number.

Can VLOOKUP look to the left?

No, it only returns values to the right of the lookup column. Use INDEX and MATCH or XLOOKUP when you need to look left.

This guide was drafted from the video's details and general task knowledge. It has not been checked against the full video. Check the video and relevant product instructions before following a procedure. Report a correction.

More in Apps & Software

See all