Lookup function

Google Sheets VLOOKUP function

Searches down the first column of a range for a key and returns a value from another column in the same row.

Syntax

=VLOOKUP(search_key, range, index, [is_sorted])
search_keyThe value to look for in the first column.
rangeThe table to search. The key must be in its first column.
indexThe column number (within range) to return, where 1 is the first column.
is_sortedOptional. Use FALSE for an exact match. TRUE (the default) finds the closest match in a sorted list.

Try it

Edit the formula and the result updates instantly. Click a cell to add its reference.

▦ Price list
fx
Result: 15
ABCDE
1SKUItemPriceFind SKU
2P-100Pens2P-300
3P-200Paper5
4P-300Ink15
5P-400Stapler12
6P-500Tape3

Examples

These use the sample sheet above.

→ 15

Look up the price of the SKU typed in E2.

→ Paper

Return the item name (column 2) for P-200.

→ No such SKU

Handle missing keys gracefully.

Tips & common mistakes

Related functions