Look up a unit price with VLOOKUP
Use VLOOKUP with exact match to pull prices from a product table.
VLOOKUP
Finds a value in the first column of a table and returns a value from another column. Below are 1 interactive exercise that put it to work on realistic business data — you write the formula, and get told exactly what went wrong when it does not work.
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
Ordered from most approachable to hardest.
Finds a value in the first column of a table and returns a value from another column. It belongs to the lookup & reference family, and it shows up constantly in real work — which is why it is worth being genuinely fluent rather than merely familiar.
Reading about a function is not the same as being able to write it. The exercises on this page exist because the gap between recognising VLOOKUP and producing it from memory, correctly, on data you have not seen before, only closes by doing it.