How it works.
VLOOKUP searches vertically down the leftmost column of a table or cell range to find a specified value. Once found, it retrieves another value from that same row in a column index number you specify. It is a legacy formula, but still widely used for backward compatibility.
💡 In simple terms.
Searches down the first column of a table to find a matching word, then reads across that row to get a value from a column you choose.
"Think of VLOOKUP like sliding your finger down a price catalog. You lookup the item name in the left column, then slide your finger to the right to see the price."
Formula syntax.
Standard Excel Notation=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])[like_this] are optional; all other arguments are required.Formula arguments.
Every parameter accepted by the VLOOKUP function is detailed below.
The value to search for in the first column of the table.
Example value:D2The range containing the search column and the return column.
Example value:A2:B6The column number in the table range to return a value from (first column is 1).
Example value:2TRUE = Approximate match, FALSE = Exact match. In almost all cases, set to FALSE.
Default: FALSESimple example.
Step-by-Step ScenarioProduct Pricing Directory
Retrieve a product's price using its exact name.
| Item Name | Price | Stock | Query Item | Item Cost |
|---|---|---|---|---|
| Laptop | 999 | 15 | Tablet | — |
| Monitor | 299 | 8 | — | — |
| Tablet | 449 | 24 | — | — |
=VLOOKUP(D2, A2:B6, 2, FALSE)Evaluates VLOOKUP over the sample table cells, placing the verified output in cell E2.
Formula generator.
Full Generator WizardCustomize the argument fields below to generate a tailored VLOOKUP formula ready to paste directly into your worksheet.
=VLOOKUP()Expected result behavior.
Returns "Engineering" based on sample evaluation criteria and active cell references.
Best Practices
- Always set range_lookup to FALSE or 0 to avoid incorrect approximate match returns.
- Lock your table_array range with dollar signs (e.g. $A$2:$C$6) when copying formulas down a column.
Common Mistakes
- VLOOKUP can only search from left to right. The lookup value must always be in the first column of the table_array.
- Inserting or deleting columns in the table range shifts the column indices, which breaks VLOOKUP or returns incorrect data.
Platform & version compatibility.
Verified platform compatibility matrix based on actual spreadsheet calculation engine specifications.
Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.
100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.
Frequently asked questions.
Technical Q&AWhy is VLOOKUP returning a #N/A error?↓
The #N/A error means the lookup_value was not found in the first column of table_array. Common causes include trailing or leading spaces in cell text, numbers stored as text strings, or omitted range_lookup causing false misses.
Can VLOOKUP look to the left in Excel?↓
No. Traditional VLOOKUP can only search the leftmost column of the table_array and return values to the right. To look up data to the left, use XLOOKUP or an INDEX and MATCH formula combination.
Why should I always specify FALSE as the fourth argument in VLOOKUP?↓
Omitting the fourth argument defaults VLOOKUP to TRUE (approximate match), which assumes your table is sorted alphabetically or numerically. Setting range_lookup to FALSE or 0 guarantees an exact match.