VLOOKUP
Find a row by its key and return a value from another column.
=VLOOKUP(what to find, table, column number, FALSE) searches the FIRST column of the table for the value, then returns the value from that row in the column you number. Column 1 is the first column of the table, not column A of the sheet. FALSE means exact match only; if nothing matches you get #N/A.
Example: =VLOOKUP("K-107",A2:D6,3,FALSE)
- Find K-107 in column A — The first column of A2:D6
- Column 3 of the table is C — A is 1, B is 2, C is 3
- Return C on that row — The price of K-107
Why it works: Each row keeps related facts together, so once VLOOKUP finds the key in the first column, moving across that row to the numbered column gives the matching fact.
Tip: VLOOKUP only looks to the right. To look left, use XLOOKUP or INDEX and MATCH.