VLOOKUP Function (Vertical Lookup)
The VLOOKUP function in Microsoft Excel is used to search for a value in the first column of a table and return a corresponding value from another column in the same row. The “V” stands for vertical, meaning it works down columns.
The syntax of the VLOOKUP function is:
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
- lookup_value: The value you want to search for.
- table_array: The range of cells containing the data.
- col_index_num: The column number from which to return the value.
- range_lookup: Optional; TRUE for approximate match or FALSE for exact match.
For example, if you have a table with student names in the first column and their marks in the second column, VLOOKUP can quickly find a student’s marks by searching their name.
VLOOKUP is widely used for tasks like finding prices, retrieving employee details, or matching data between sheets. However, it only searches from left to right and requires the lookup value to be in the first column.
Although newer functions like INDEX and MATCH or XLOOKUP are more flexible, VLOOKUP remains one of the most popular and easy-to-use lookup functions in Excel.