Loading…
Loading…
The column index in VLOOKUP counts columns from the left edge of the table you give it, not from column A of the sheet. Change the number and the same lookup returns a different column. Lookup values can be numbers (like IDs) as well as text.
Syntax
VLOOKUP(lookup_value, table_array, col_index_num, FALSE)
Example: =VLOOKUP(104,A2:D7,4,FALSE) finds ID 104 in column A and returns the 4th column of A2:D7 (the salary).
Common mistakes
Read the lesson, then try it yourself in a live spreadsheet.