VLOOKUP practice
VLOOKUP finds a value in the first column of a table and returns a cell from the same row. Use FALSE as the last argument for an exact match, and TRUE only when the first column is sorted and you want a band.
Last updated 23 November 2026
| A | B | C | |
|---|---|---|---|
| 1 | Code | Name | Price |
| 2 | P110 | Item A | 12 |
| 3 | P245 | Item B | 30 |
| 4 | P390 | Item C | 7 |
| 5 | P245 |
In B5, write =VLOOKUP(A5,$A$2:$C$4,3,FALSE) and it shows 30.
The four arguments
VLOOKUP(lookup_value, table, column, exact) takes the value to find, the table to search, the number of the column to return counted from the first column of the table, and whether the match must be exact.
The search always happens in the first column of the table. The column number counts from there, so in a table that starts at F the third column is H.
Exact and approximate matches
FALSE asks for an exact match and returns #N/A when the value is missing. TRUE, which is also what you get when you leave the argument out, asks for the largest value that does not exceed the one you gave. That suits bands such as tax tiers or grades, and it needs the first column sorted from smallest to largest.
On unsorted data an approximate match can return the wrong row and show no error. If you are looking up codes or names, use FALSE.
Three mistakes that fail on new data
These pass on the numbers you can see and fail when the data changes:
- A table range that is not absolute. Filled down, F2:H7 becomes F3:H8, then F4:H9, and the rows slide off the list. Write $F$2:$H$7.
- A column number that was right for one table and is wrong after a column is inserted. Count again, or let MATCH find the column.
- TRUE left in by default on a list of codes. It works on a lucky order and fails on another.
Practise it
Module 3, Lookups, has 20 tasks on this, each checked on hidden data: open module 3. You can also try formulas in the sandbox.