VLOOKUP and looking up data across a sheet
VLOOKUP is one of the most useful functions in Excel — it looks up a value in one place and pulls back related information from another.
What it does, in plain terms
"Look for this value in the first column of a table, and if you find it, give me the value from another column in that same row."
The formula structure
=VLOOKUP(lookup_value, table_range, column_number, FALSE)
- lookup_value — what you're searching for (e.g. a student ID)
- table_range — the table to search in
- column_number — which column (counting from the left of the table) to pull the answer from
- FALSE — means "exact match" (almost always what you want; TRUE allows approximate matches, which is rarely intended)
A real example
Imagine Sheet has:
| A (ID) | B (Name) | C (Score) |
|---|---|---|
| 101 | Aarav | 88 |
| 102 | Priya | 92 |
To find Priya's score by looking up ID 102:
=VLOOKUP(102, A1:C2, 3, FALSE)
This returns 92 — it found 102 in column A, then pulled the value from the 3rd column (C) of that same row.
Common mistakes
- Forgetting
FALSEat the end (leads to wrong/approximate matches) - The lookup column must be the first column in your selected range — VLOOKUP can't look to its left
#N/Ameans the lookup value wasn't found — check for typos or extra spaces