VLOOKUP stands for "Vertical Lookup." It is one of the most widely used lookup functions in Excel, designed to search the first column of a specified range for a value and return a corresponding value from another column in the same row. The "V" in VLOOKUP refers to the vertical direction the function searches — straight down a column.
VLOOKUP in Excel is especially useful when you need to find a value in a table containing large amounts of data. Whether you are cross-referencing employee IDs with department names, matching product codes to prices or pulling donation totals from a donor list, this Excel lookup function eliminates the need to scroll through rows of information manually.
The VLOOKUP formula follows this syntax:
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Each of the four arguments controls a specific part of the search:
Keep in mind that the lookup_value must always appear in the first column of your table_array. If it does not, VLOOKUP will not return the correct result.
In the following example, you will use VLOOKUP to search a list of donors and return each donor's total donations from a specified column. This scenario demonstrates how VLOOKUP saves time when working with large datasets containing dozens of data points per record.
In this example, a donor lookup field is created in which a donor's name can be entered and the cell containing the VLOOKUP formula returns last year's total donations for that member.
(https://pryormediacdn.azureedge.net/blog/2014/01/VLOOKUP_figure1.png)

Try this on your own data to build confidence with the function. Strengthening your overall Excel formulas skills will make VLOOKUP and related functions easier to apply in real-world scenarios. If you plan to apply your VLOOKUP formula to multiple cells, make sure your table arguments use absolute references.
Even experienced Excel users run into VLOOKUP errors. Understanding what causes each error makes troubleshooting faster and less frustrating.
#N/A error:The lookup_value is not found in the first column of the table_array. Check for typos, extra spaces or mismatched data types (for example, a number stored as text).
#REF! error:The col_index_num exceeds the number of columns in the table_array. Reduce the column number or expand the range to include more columns.
#VALUE! error: The col_index_num is less than 1 or is not a number. Ensure it is a positive integer — the same argument-validation principles apply to other Excel formulas like SUM.
Wrong value returned:The range_lookup argument is set to TRUE (or omitted) and the first column is not sorted in ascending order. Set range_lookup to FALSE for an exact match.
Partial match issues: Leading or trailing spaces in your data can cause mismatches even when values appear identical. Use the TRIM function to clean your data before running VLOOKUP.
Following a few simple guidelines will help you avoid common mistakes and get reliable results from your VLOOKUP formulas.
Always place the lookup_value in the first column of your table_array.
Use FALSE for the range_lookup argument unless you specifically need an approximate match.
Lock your table_array with absolute references (e.g., $B$2:$C$18) when copying the formula to other cells.
Keep your data clean by removing duplicates, extra spaces and inconsistent formatting before running VLOOKUP.
Use named ranges or formatted Excel Tables to make formulas easier to read and maintain.
Test your formula with a known value first to confirm it returns the expected result.
VLOOKUP is a powerful function, but it is not always the best choice. Depending on your version of Excel and the structure of your data, one of these alternatives may be a better fit.
XLOOKUP: A newer function available in Microsoft 365 and Excel for the web that can search in any direction, defaults to an exact match and includes built-in error handling. XLOOKUP is the recommended modern replacement for VLOOKUP when your version of Excel supports it.
INDEX/MATCH: A combination of two functions that offers more flexibility than VLOOKUP. The lookup column does not need to be the first column in the range, and INDEX/MATCH handles large datasets more efficiently. This combination is preferred by advanced users who need greater control over their formulas.
HLOOKUP: Works like VLOOKUP but searches horizontally across a row instead of vertically down a column. Use HLOOKUP when your data is organized in rows rather than columns.
Feature | VLOOKUP | XLOOKUP | INDEX/MATCH | HLOOKUP |
|---|---|---|---|---|
Search direction | Left to right only | Any direction | Any direction | Top to bottom only |
Default match type | Approximate | Exact | Exact | Approximate |
Lookup column position | Must be first | Any column | Any column | Must be first row |
Availability | All Excel versions | Microsoft 365+ | All Excel versions | All Excel versions |