AI · 2 min read

VLOOKUP

VLOOKUP function in Excel: Searches first column, returns value from same row.

Excel functions / Lookup & Reference
Lookup & Reference function · Excel

VLOOKUP function

VLOOKUP searches the first column of a table and returns a value from a column to its right. It still runs in every version, so it is the safe choice for files shared with older Excel.

Syntax

=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Switch to the Google Sheets page

Arguments

ArgumentRequiredMeaning
lookup_valueYesThe value to find in the first column.
table_arrayYesThe table, with the lookup column first.
col_index_numYesWhich column of the table to return, counted from 1.
range_lookupNoUse FALSE for an exact match. Omitting it requests an approximate match.

Worked example

ABC
1SKUProductPrice
2A-101Keyboard45
3A-102Mouse22
4A-103Monitor180
5A-104Dock95
=VLOOKUP("A-102",A2:C5,3,FALSE)
Result: 22

The formula finds A-102 in the first column and returns the third column of that row.

Try it

Edit the formula and run it against the table above. Results come from a browser spreadsheet engine.

Availability

PlatformStatus
ExcelAll current desktop versions, Microsoft 365, Excel for the web.
Google SheetsAvailable.

Common mistakes

  • Leaving out FALSE can return a wrong answer with no error.
  • It cannot return a column to the left of the lookup column.
  • Inserting a column inside the table can shift a hard-coded column number.

Do it with AI

Paste this prompt into Copilot, Gemini or another assistant. Check the result on a small sample first.

Convert this VLOOKUP to XLOOKUP and explain any behavior that changes: =VLOOKUP(F2,A2:C5,3,FALSE)