Excel VLOOKUP Example, Using An Exact Match
Excel VLOOKUP Example, Using An Exact Match
You've been asked to come up with a way to check the price of a product when a product ID is typed into a given
Product ID 9823
Price
Product 9823
Price formula =VLOOKUP(B20,$A$6:$C$10,3,0)
Price 13
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.
a product ID is typed into a given cell
Excel VLOOKUP example, using a nearest match
You've been asked to come up with a way to check the price of a product for a given sales quantity
The method you use should handle any sales quantity that is entered
Quantity 23
Price formula =VLOOKUP(B18,$A$6:$C$10,2,1)
Price 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.
given sales quantity