To run VLOOKUP in Excel, type =VLOOKUP(lookup_value, table_array, col_index_num, FALSE) into the cell where you want the result, then press Enter. Replace each argument with your actual cell reference, data range, and column number. This formula searches the first column of your table for a matching value and returns data from a specified column in the same row. It works in Excel for Microsoft 365, Excel 2021, 2019, 2016, and most earlier versions, with slight menu differences noted below.

What You'll Need

  • A spreadsheet with a table of data where the first column contains the values you want to look up (for example, product IDs or employee names).
  • A second location (another sheet or column) where you will enter the VLOOKUP formula.
  • Basic familiarity with cell references like A2 or B1:D100.
  • Excel installed on your computer (desktop version gives the most reliable formula experience; the web version also supports VLOOKUP but may have limited function suggestions).

Step-by-Step

  1. Identify your lookup value. Decide which value you want to search for. For example, if you have a product ID in cell A2 and want to find its price from a table, A2 is your lookup value.
  2. Locate your table array. Select the range of cells that contains your data. The first column of this range must contain the values you are searching for. For example, if your product table is in cells F1:H50 and product IDs are in column F, your table array is F1:H50.
  3. Count the column index number. Determine which column in your table array contains the answer you want. The first column of the table array is 1, the second is 2, and so on. If prices are in column H (the third column of F1:H50), the column index number is 3.
  4. Choose exact or approximate match. For most lookups, use FALSE (or 0) for an exact match. Use TRUE (or 1) only when your data is sorted ascending and you need an approximate match, such as tax brackets. If unsure, use FALSE.
  5. Enter the formula. Click the cell where you want the result. Type =VLOOKUP( then enter your arguments separated by commas: lookup value, table array, column index, and FALSE. For example: =VLOOKUP(A2, F1:H50, 3, FALSE). Close the parenthesis and press Enter.
  6. Check the result. The cell should display the value from the matching row. If you see #N/A, the lookup value was not found in the first column of your table array. If you see #REF!, your column index number is larger than the number of columns in your table array.
  7. Copy the formula down. Drag the fill handle (the small square at the bottom-right of the cell) down to apply the formula to other rows. Excel adjusts relative references automatically. If your table array should stay fixed, use absolute references like $F$1:$H$50.

Menu labels and dialog boxes can differ slightly by Excel version, device, and region. The formula syntax itself is consistent across versions.

Common Mistakes

  • Forgetting FALSE for exact match. Omitting the fourth argument defaults to TRUE (approximate match), which can return wrong results if your data is not sorted. Always include FALSE for exact lookups.
  • Lookup column not first. VLOOKUP only searches the leftmost column of your table array. If your lookup values are in column B but your table array starts at column A, it will not work. Rearrange your data or use INDEX/MATCH instead.
  • Relative references in table array. When copying the formula down, a relative table array like F1:H50 will shift and cause errors. Use $F$1:$H$50 to lock it.
  • Column index number too high. If your table array has 3 columns and you specify 4, you get #REF!. Count columns carefully.
  • Text vs. number mismatch. A lookup value stored as text (e.g., "123") will not match a number stored as 123. Use consistent formatting or convert values.
  • Extra spaces. Trailing spaces in lookup values or table data cause #N/A. Use TRIM to clean data if needed.

Tips

  • Use Excel's Formula AutoComplete: type =VLOOKUP( and Excel shows argument hints.
  • Name your table range (Formulas > Define Name) to make formulas easier to read and maintain.
  • For leftward lookups or more flexibility, consider INDEX and MATCH instead of VLOOKUP.
  • Test your formula on a few rows before filling down to catch reference errors early.
  • Use IFERROR to display a friendly message instead of #N/A: =IFERROR(VLOOKUP(...), "Not found").
  • Keep your data sorted if you must use approximate match (TRUE), but exact match (FALSE) does not require sorting.

Troubleshooting

If VLOOKUP returns #N/A, first verify the lookup value exists in the first column of your table array. Check for leading or trailing spaces, and confirm that both values are the same data type (text vs. number). If the value is there but still not found, try using the TRIM function on both the lookup value and the table column.

If you get #REF!, your column index number exceeds the number of columns in the table array. Recount the columns from the leftmost column of your selected range.

If you get #VALUE!, one of your arguments is the wrong type—for example, a column index that is text instead of a number.

If the formula returns the wrong result, check whether you used TRUE instead of FALSE for the fourth argument. Also confirm that the table array does not include the header row if the header could match your lookup value.

If the formula works in one cell but not when copied down, inspect the references: relative references may have shifted. Lock the table array with dollar signs.

If VLOOKUP is not available at all, ensure you are using a supported Excel version; VLOOKUP is available in all modern versions and Excel for the web.

Frequently Asked Questions

What does VLOOKUP stand for?

Vertical Lookup. It searches vertically down the first column of a range for a value and returns a corresponding value from another column in the same row.

Can VLOOKUP look to the left?

No. VLOOKUP only searches the first column of the table array and returns values from columns to the right. For leftward lookups, use INDEX and MATCH.

What is the difference between TRUE and FALSE in VLOOKUP?

FALSE (or 0) means exact match—it finds only an identical value. TRUE (or 1) means approximate match—it finds the closest value that is less than or equal to the lookup value, and requires the first column to be sorted ascending.

Why am I getting #N/A even though the value exists?

Common causes: extra spaces, text vs. number formatting, or the value is not in the first column of your table array. Use TRIM and check data types.

Can I use VLOOKUP across different sheets?

Yes. Reference the sheet name in the table array, like Sheet2!$A$1:$C$100. If the sheet name contains spaces, wrap it in single quotes: 'Sheet 2'!$A$1:$C$100.

Is VLOOKUP case-sensitive?

No. VLOOKUP is not case-sensitive. "Apple" and "apple" are treated as the same value.