VLOOKUP (Vertical Lookup) is used in MS Excel to search for a value in the first column of a table and return corresponding data from another column.
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Click the cell where you want the lookup result to appear.
Example:
=VLOOKUP(A2, B2:D100, 2, FALSE)
| Argument | Meaning |
|---|---|
| A2 | Lookup value |
| B2:D100 | Table range |
| 2 | Column number to return value from |
| FALSE | Exact match |
| Option | Meaning |
|---|---|
| FALSE | Exact match (most commonly used) |
| TRUE | Approximate match (data must be sorted) |
Use IFERROR for cleaner output:
=IFERROR(VLOOKUP(A2, B2:D100, 2, FALSE), "Not Found")
VLOOKUP helps efficiently search and retrieve data from large spreadsheets by matching a value in the first column and returning related information.
Identify the type of code used by a trading company Ms. Ahana Ltd.:
| Codes | Accounts |
| CA005 | Super Ltd. |
| CA006 | Regina Ltd. |
| CA007 | Nasir & Sons Ltd. |