VLOOKUP finds a key in the first column of a table and returns a value from a column to the right—ubiquitous in business spreadsheets.
Syntax
=VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
=VLOOKUP(A2, $F$2:$H$100, 3, FALSE)
FALSE
FALSE (exact match) is default for IDs. TRUE requires sorted first column—approximate match.
Limitation
Cannot look left—key must be leftmost column. INDEX/MATCH or XLOOKUP fix this.
Important interview questions and answers
- Q: FALSE meaning?
A: Exact match lookup. - Q: Look left?
A: VLOOKUP cannot—use INDEX/MATCH or XLOOKUP.
Self-check
- What does the 4th argument FALSE mean?
- Why can't VLOOKUP return a column left of the key?
Tip: Lock table with $F$2:$H$100 before copying VLOOKUP down.
Interview prep
- FALSE?
Exact match for IDs.