0% found this document useful (0 votes)
22 views

Excel VLOOKUP Example, Using An Exact Match

The document provides examples of using VLOOKUP functions in Excel to look up values from a table based on an exact or nearest match. For an exact match, the VLOOKUP looks up the price of a product based on its product ID. For a nearest match, the VLOOKUP looks up the unit price based on a given sales quantity, returning the price for the nearest quantity in the table. The user is encouraged to modify the example values to see how the VLOOKUP functions dynamically update the returned prices.

Uploaded by

gaurav pawale
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)
22 views

Excel VLOOKUP Example, Using An Exact Match

The document provides examples of using VLOOKUP functions in Excel to look up values from a table based on an exact or nearest match. For an exact match, the VLOOKUP looks up the price of a product based on its product ID. For a nearest match, the VLOOKUP looks up the unit price based on a given sales quantity, returning the price for the nearest quantity in the table. The user is encouraged to modify the example values to see how the VLOOKUP functions dynamically update the returned prices.

Uploaded by

gaurav pawale
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
You are on page 1/ 4

Excel VLOOKUP example, using an exact match

You have the following table:


Product ID
2345
5457
9823
1233
2344

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

You write a VLOOKUP function which looks like this:


Product
Price formula
Price

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.

oduct when a product ID is typed into a given cell

uct ID column above.

Excel VLOOKUP example, using a nearest match


You have the following table:
Quantity
0
10
50
100
200

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.

oduct for a given sales quantity

uct ID column above.

You might also like