How to use VLOOKUP in Excel

VLOOKUP searches for a value in the first column of a table and returns a value from another column on the same row. It is useful when you have a list of IDs or product names and want to find details such as a price or department.

VLOOKUP formula

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

Example: find a product price

Enter this table in cells A1:B4. The product names must be in the first column of the selected table.

Sample products and prices
RowA: ProductB: Price
1ProductPrice
2Keyboard25
3Mouse12
4Monitor180

Type Mouse in D2. In E2, enter:

=VLOOKUP(D2, A2:B4, 2, FALSE)

The result is 12. Excel looks for Mouse in column A and returns the value from the second column of A2:B4.

Common VLOOKUP problems

Newer Excel versions include XLOOKUP, which can search in either direction. For a lookup using INDEX and MATCH, see the INDEX tutorial. To join two spreadsheets by a shared column, try the Excel Lookup tool.

Browse all tutorials