Everyday formulas ยท Excel for Microsoft 365 on Windows

VLOOKUP

Look up a code in one list and pull the matching details from another.

Quick answer

โ€œI've got a code in one list and need to pull the matching details from another list.โ€

=VLOOKUP(A2, Clients!A:D, 3, FALSE)
  1. What to find: the cell with the code you have (A2).
  2. Where to look: the other list, with the codes in its first column (Clients!A:D).
  3. Which column to bring back: count across from the code column (3 = the third column), then finish with FALSE so it only accepts an exact match.

Copy it down the whole list. If you get #N/A, the code isn't in the other list (see Common mistakes).

Got Microsoft 365? XLOOKUP does the same job more simply. We'll have an XLOOKUP lesson soon.

Full lesson โ€” members only

Personal plan

Plain-English explanation

Why it works the way it does, with no assumed knowledge.

Real-world example

A complete worked example from an actual business scenario.

Try it โ€” live practice sheet

Write the formula in a live spreadsheet in this page. Press Check to see if it's right.

Common mistakes

The errors most people make and how to fix them.

Got Microsoft 365? XLOOKUP does the same job more simply. We'll have an XLOOKUP lesson soon.

How to use VLOOKUP in Excel | Plainbridge Learn