Lookup and reference

VLOOKUP

Search down a table’s leftmost column and return a value from a chosen column.

Syntax

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

Worked example

Find P4 in the first column of this inline price table using an exact match.

=VLOOKUP("P4",{"P2",18;"P4",35;"P9",27},2,FALSE)

Result 35

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor