VLOOKUP in Google Sheets

Looks for a value in the first column of a table and returns the value from another column in the same row.

In Google Sheets

In Google Sheets the arguments are called search_key, range, index and is_sorted, but they work as here. is_sorted defaults to TRUE, so write FALSE for an exact match, as in Excel.

Syntax

VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
lookup_value
The value to find in the first column.
table_array
The table, starting with the column to search.
col_index_num
Which column of the table to return, counting from 1.
range_lookup (optional)
FALSE for an exact match. TRUE or left out finds the closest smaller value in a sorted column.

Examples

D1=VLOOKUP("Pear",A2:B4,2,FALSE)
ABCD
1FruitPrice6
2Apple4
3Pear6
4Plum5

In plain words: Find Pear in the first column of A2:B4 and return the value in the table's second column, only on an exact match.

D1=VLOOKUP("Kiwi",A2:B4,2,FALSE)
ABCD
1FruitPrice#N/A
2Apple4
3Pear6
4Plum5

Practice VLOOKUP

Related functions