Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

How to Use VLOOKUP in Excel (Explained in Plain English)

To use VLOOKUP in Excel, type =VLOOKUP(what to find, the range to search, the column number to return, FALSE) and press Enter. The value you're searching for must sit in the first column of the range, and FALSE makes Excel look for an exact match.

VLOOKUP is the function that finally made spreadsheets click for me. You give it something to find, like a product code or a client's surname, tell it where to look, and it brings back a matching detail from the same row: a phone number, a stock level, a delivery date. No more scrolling and copying by hand.

It has four parts, and most VLOOKUP headaches come from just two of them. I'll explain each part in plain English, build one step by step, then cover the error messages and the newer function Microsoft now points people towards.

The four parts of an Excel VLOOKUP formula

Microsoft's help page gives the syntax as VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]). Translated:

PartWhat it meansExample
lookup_valueThe thing you're searching forA surname, an order code, or a cell holding it
table_arrayThe block of cells to search inA1:B100
col_index_numWhich column of that block holds the answer2 for the second column
range_lookupExact or approximate matchFALSE for an exact match

Microsoft's own example is =VLOOKUP("Smith",A1:B100,2,FALSE). In words: find Smith in the first column of A1:B100, and return whatever sits in the second column of the same row, but only if there's an exact match.

Writing your first VLOOKUP in Excel step by step

Imagine a sheet with order codes in column A and customer names in column B, and a separate cell where you want to type a code and see the name.

  1. Type the code you want to find in an empty cell, say E2.
  2. Click the cell where the answer should appear, say F2.
  3. Type =VLOOKUP( and click E2. Type a comma.
  4. Drag across the table you're searching, starting with the column that holds the codes, for example A2:B10. Type a comma.
  5. Type 2, because the names are in the second column of that block. Type a comma.
  6. Type FALSE for an exact match, close the bracket and press Enter.

Type a different code in E2 and the name changes instantly. That's the moment most people get hooked.

The VLOOKUP rule that catches everyone: the first column

Microsoft is very specific about this. The value you're looking up must be in the first column of the range you select. If your range is B2:D7, the lookup value has to be in column B.

VLOOKUP can only look to the right. If the detail you want sits to the left of the column you're searching, VLOOKUP can't reach it. Either rearrange the columns or use the newer function I mention further down.

The column number counts from the left edge of your range, not from column A of the sheet. Microsoft says it starts at 1 for the left-most column of the range. So in a range starting at column C, column C is 1, D is 2, and so on.

Exact match or approximate match in VLOOKUP

The last part is optional, and that's the trap. If you leave it out, Microsoft says Excel assumes TRUE, an approximate match, and expects the first column to be sorted. On an unsorted list of names or codes, that can return a confidently wrong answer.

  • FALSE (or 0): exact match. Use this for codes, names, email addresses and anything where close isn't good enough.
  • TRUE: approximate match on sorted data, useful for bands and tiers, such as matching a score to a grade.

My rule of thumb: always type FALSE unless you know why you want TRUE.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

Fixing common VLOOKUP errors in Excel

Microsoft's help lists the usual suspects. Here's what each one means:

ErrorLikely causeWhat to try
#N/ANo exact match was foundCheck spelling, spaces and that the value is in the first column
#REF!The column number is bigger than the rangeWiden the range or lower the column number
#NAME?Text in the formula is missing its quotesPut text lookups in double quotes, like "Smith"

Microsoft's best-practice tips are worth following too:

  • Lock the lookup range with an absolute reference before copying the formula down. Click the range inside the formula and press F4.
  • Don't store numbers or dates as text, because a code saved as text won't match the same code saved as a number.
  • Check for leading or trailing spaces, and for curly quote marks pasted in from other apps.
  • Wildcards work with exact matches on text: ? stands for one character and * for any run of characters.

XLOOKUP: the newer option Microsoft recommends

On the VLOOKUP page itself, Microsoft suggests trying XLOOKUP, describing it as an improved version that works in any direction and returns exact matches by default. That fixes the two biggest VLOOKUP gotchas in one go: looking left, and forgetting FALSE.

If your version of Excel has it, XLOOKUP is worth learning. But VLOOKUP is still everywhere in shared templates and older files, so understanding it means you can fix other people's sheets as well as build your own.

VLOOKUP ideas for small business spreadsheets

  • Pull a customer's email onto an order sheet by typing their account code.
  • Bring stock levels from a stock list onto a reorder sheet.
  • Match a product code to its description on a packing list.
  • Look up a client's preferred contact method on a follow-up tracker.

Once your lookups are working, COUNTIF for counting entries that meet a rule is the natural next function to learn, and a pivot table will summarise the combined data without any formulas at all.

Frequently asked questions

How do I use VLOOKUP in Excel for an exact match?

Put FALSE as the last part of the formula, for example =VLOOKUP("Smith",A1:B100,2,FALSE). Microsoft says FALSE or 0 searches for the exact value.

Why does my VLOOKUP return #N/A?

Microsoft says #N/A appears when an exact value isn't found. Check for extra spaces, numbers stored as text, and that the value sits in the first column of your range.

Can VLOOKUP look to the left?

No. The value you're searching for must be in the first column of the range, so VLOOKUP only returns columns to its right. XLOOKUP works in any direction.

What does the column number mean in VLOOKUP?

It's the position of the answer column within your selected range, starting at 1 for the left-most column of that range, not of the whole sheet.

Should I use VLOOKUP or XLOOKUP?

Microsoft suggests trying XLOOKUP, which works in any direction and returns exact matches by default. VLOOKUP still works and appears in many existing files.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.