How to use VLOOKUP in Excel with exact match and locked ranges

VLOOKUP finds a value in the first column of a table and returns something from a column to its right. You will build a working formula, lock the range so it copies correctly, and hide #N/A errors. It suits beginners who know basic Excel formulas.

YouTube video: VLOOKUP Explained: 2 Practical Examples to Master it in 10 Minutes

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

13 chapters. Tap a step to jump to it.Chapters from the creator
Choose a chapter (13)
Video length
12 min 16 s
Time to do it
15 minutes
Difficulty
Easy
Steps
9

What you need

Steps

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

  2. Click an empty cell and type =VLOOKUP(. The four arguments are lookup value, table array, column index number and match type.

  3. Select the cell holding the value you want to find, then type a comma.

  4. Select the whole table, from the first column to the last column you may need, and type a comma.

  5. Type the column number to return, counting the first column of the table as 1. Then type,FALSE for an exact match.

  6. Press Enter. Check the result against the source row before copying the formula anywhere.

  7. Click the table range inside the formula and press F4 to add dollar signs, so the range stays fixed when you copy the formula down.

  8. Drag the fill handle down to apply the formula to the other rows. To return a different column, change the index number or use a helper cell.

  9. For a missing-value check, point VLOOKUP at a second list and wrap it in IFERROR to replace #N/A with a blank or a label.

Tips and common mistakes

Always use FALSE or 0 for exact match. TRUE or 1 gives wrong results on unsorted data.

Forgetting F4 is the most common error: the range shifts and later rows return wrong values.

If you need a value from a column left of the lookup column, use INDEX and MATCH instead.

In Microsoft 365 or Excel 2021 and later, XLOOKUP looks left and handles not-found cases by default.

Questions

Why does my VLOOKUP return #N/A?

The lookup value is not found in the first column of the table, or the value types differ, such as text versus number. Check for stray spaces and confirm the range starts at the lookup column.

What does the column index number mean?

It is the position of the column you want, counting the first column of your table as 1. If your table starts at column B and you want column D, the index is 3.

Can VLOOKUP look to the left?

No. VLOOKUP only returns columns to the right of the lookup column. Use INDEX and MATCH, or XLOOKUP in newer Excel versions, for left lookups.

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