0% found this document useful (0 votes)
12 views4 pages

VLOOKUP Examples for Price Lookup

This document provides an example of using VLOOKUP in Excel to look up product prices from a table based on a product ID or quantity. The VLOOKUP formula retrieves the price column from the table based on an exact or closest match to the lookup value. Changing the lookup value updates the returned price. Entering a non-matching value will result in an error.

Uploaded by

Maryun Artates
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views4 pages

VLOOKUP Examples for Price Lookup

This document provides an example of using VLOOKUP in Excel to look up product prices from a table based on a product ID or quantity. The VLOOKUP formula retrieves the price column from the table based on an exact or closest match to the lookup value. Changing the lookup value updates the returned price. Entering a non-matching value will result in an error.

Uploaded by

Maryun Artates
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd

Excel VLOOKUP example, using an exact match

You have the following table:

Product ID Available Stock Price


2345 500 15
5457 234 28
9823 155 13
1233 122 12
2344 166 24

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 give

Product ID 9823
Price

You write a VLOOKUP function which looks like this:

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.
en a product ID is typed into a given cell

umn above.
Excel VLOOKUP example, using a nearest match

You have the following table:

Quantity Unit Price


0 20
10 18
50 16
100 13
200 12

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

You write a VLOOKUP function which looks like this:

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.
a given sales quantity

umn above.

You might also like