Excel VLOOKUP Function
excel-vlookup• Pick a product code and watch VLOOKUP find the value step by step. • Learn each argument (lookup value, range, column index, FALSE) by example.
💡 Change just the yellow cell (G2) and all three results update at once. The downloaded Excel file behaves the same way.
How to read VLOOKUP
“Take the lookup value, find it in the leftmost column of this table, and return the value from the Nth column of that row.”
Wrapped in IFERROR, a missing code shows “Not found” instead of an error (#N/A).
Where VLOOKUP usually trips people up
VLOOKUP is one of the most used functions in Excel, and the places people get stuck are fairly predictable. The first is the rule that the lookup value must sit in the leftmost column of the range. If the value you want back is to the left of the one you search on, VLOOKUP cannot do it — that is a job for INDEX/MATCH.
The second is locking the range. Dragging the formula down shifts the range with it, so the lower rows return wrong results. Writing the range as $B$2:$D$100 keeps it fixed no matter where you copy the formula.
The third is the last argument. Leave out the 0 (or FALSE) and Excel looks for an approximate match, which returns nonsense on an unsorted table. Always write the 0 when you want an exact match. The #N/A that appears when nothing is found can be wrapped in IFERROR to show a message of your choice.