Excel Guide

How to Use VLOOKUP in Excel: Exact Match, Column Numbers, and the Wrong-Row Trap

=VLOOKUP(lookup_value, table_range, column_index, FALSE). VLOOKUP searches down the first column of a table for a value, then returns something from a column to the right of it. The FALSE at the end means "exact match" — and it is the part most people get wrong. Practise it: VLOOKUP — 10 Excel practice problems.

The four arguments, in order

Take a small price table — product names in A2:A4, prices in B2:B4 — and a product name typed in D2:

=VLOOKUP(D2, A2:B4, 2, FALSE)
  1. Lookup value (D2) — the thing you are searching for, here a product name.
  2. Table range (A2:B4) — the table to search. VLOOKUP only ever searches the first column of this range, so the lookup value must be in that first column.
  3. Column index (2) — which column to return a value from, counted from the left of the table range. 2 means the second column — the price. If your table is SKU | Name | Price and you want the price, the index is 3.
  4. Exact match (FALSE) — FALSE means find an exact match. You almost always want this.

Worked through on PractiseSkills' VLOOKUP topic page, that exact formula returns 14.5 for "Gadget" — the price in the second column of the matched row.

The most common mistake: leaving off FALSE

If you leave the last argument off, or set it to TRUE, Excel looks for an approximate match instead. On unsorted data that silently returns the wrong row — no error, just the wrong answer. That is the single most common VLOOKUP failure, and the fix is always the same: put FALSE at the end.

Two limits worth knowing before you rely on it

VLOOKUP can only look to the right. It searches the first column of the table and returns a column to its right. If the value you need sits to the left of your lookup column, VLOOKUP cannot reach it — the classic workaround is INDEX combined with MATCH, which is more verbose but as flexible as XLOOKUP.

The column index is a hardcoded number. Insert a new column into the middle of the table and every VLOOKUP referencing a column after it breaks, because the index still points at the old position. Count carefully, and re-check any VLOOKUP after editing a table's layout.

VLOOKUP vs XLOOKUP: which one should you use?

XLOOKUP is the modern replacement: =XLOOKUP(lookup_value, lookup_range, return_range). It takes the lookup range and the return range as two separate arguments, so it can look in either direction and inserting columns doesn't break it, and it defaults to an exact match — no easy-to-forget FALSE needed.

If XLOOKUP is available in your version of Excel, use it by default — it is strictly more capable. VLOOKUP is still worth knowing well, though: it is what you will see in most existing spreadsheets, job interviews, and older shared files. PractiseSkills' own guide puts it plainly: VLOOKUP is still everywhere in existing workbooks and hiring tests, so it is worth knowing both.

Practise it, don't just read it

Reading the pattern once rarely sticks; writing the formula against a data table does. PractiseSkills' VLOOKUP topic works through 10 problems step by step — look up a product price, an employee's department, a grade from a score table, a warehouse location, a phone extension — and its Lookups section sits inside 510 Excel exercises across 51 modules. On each topic page, 3 of the 10 exercises are free with no sign-up needed, and you are graded on the formula you write.

Read the full comparison in the VLOOKUP vs XLOOKUP in Excel: Which to Use guide. Then try VLOOKUP Exercises: 10 Excel Practice Problems, or browse all topics on the practice hub.

Try it yourself

Practice VLOOKUP with real interactive exercises and instant feedback.

Start practicing VLOOKUP →