logo
excelfunctions.org
bookmarks

VLOOKUP

Looks in the first column of an array and moves across the row to return the value of a cell.

Lookup & ReferenceBeginner EssentialsLookup & Matching EssentialsMost Used

What it does

Searches the first column of a table and returns a value from a specified column in the same row.

Syntax

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

Arguments

  • lookup_value(value) β€” Value to find in the first column of table_array.
  • table_array(range) β€” Table containing the lookup column and return column.
  • col_index_num(number) β€” Column number in table_array to return from (1-based).

Examples

Exact match lookup

Find the Price for a product code.

FORMULA
=VLOOKUP(A2,B2:C5,2,FALSE)
RESULT
9.99
SAMPLE DATA
ABC
1Code to findCodePrice
2P2P14.99
3P29.99
4P37.5
5P412