Excel VLOOKUP Example, Using An Exact Match
Excel VLOOKUP Example, Using An Exact Match
Available Stock
500
234
155
122
166
Price
15
28
13
12
24
You've been asked to come up with a way to check the price of a product when a product
Product ID
Price
9823
9823
=VLOOKUP(B20,$A$6:$C$10,3,0)
13
2345
15
Try changing the value in the yellow cell to see the price in B22 change
Note what happens if you enter a value in B20 that isn't in the Product ID column above.
Unit Price
20
18
16
13
12
You've been asked to come up with a way to check the price of a product for a given sales
The method you use should handle any sales quantity that is entered
You write a VLOOKUP function which looks like this:
Quantity
Price formula
Price
23
=VLOOKUP(B18,$A$6:$C$10,2,1)
18
Try changing the value in the yellow cell to see the price in B20 change
Note what happens if you enter a value in B18 that isn't in the Product ID column above.