Vlookup,Hlookup, Data Validation and a Pricelist. Help!

Margbot

New Member
Joined
Aug 9, 2013
Messages
6
Hello,

I am hoping someone is able to help me on here. I am going to try to explain what I am trying to
do as best as possible. I have a pricelist that is based on the width and height of a product. Wherever the width and height meet is where the price is located. I am trying to come up with some sort of form on excel in which I can choose the height from one drop down list, the width from another, and have it give me the price (after it has looked for the intersecting cells from the spreadsheet). I have found various videos citing hlookup and vlookup but none that state if it is possible to use them together or how that would work. I am not an advanced user of excel so I am at a bit of a loss here.

Thank you so much for any help! I hope my explanation made sense.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Welcome to the Board!

You can do what you want with INDEX/MATCH. You'll find a downloadable example here.

Or if you post a shot of your sheet (see the HTML Maker link in my sig), someone can set it up for you.
 
Upvote 0
Instead of VLOOKUP, HLOOKUP you may want to consider INDEX/MATCH

=INDEX($B$2:$E$8,MATCH(F1,$A$2:$A$8,0),MATCH(F2,$B$1:$E$1,0))

Where B2:E8 is a matrix of prices that intersect the two criterias
A2:A8 house one criteria
B1:E1 houses the other criteria
 
Upvote 0
If you post a shot using the HTML Maker, then it can actually be copied right into Excel vs. an image which would have to be recreated.
 
Upvote 0

Excel 2010
ABCDEFGHIJKLMN
1Height24"30"36"42"48"54"60"66"72"78"84"90"96"
230"19.8923.829.5832.8138.0840.847.0949.6451.3455.7660.6963.2465.62
336"21.9326.8635.5339.6141.8246.7553.7252.5359.6764.2665.9670.5573.44
442"25.6731.6239.2744.0348.1152.0259.8461.3767.6672.9374.4680.0783.64
548"28.053442.3348.2851.3456.9565.6269.1975.3181.2691.2994.5294.86
654"30.7736.5544.250.1553.5537271.0677.1849691.29102105.06105.4
760"32.4737.7448.1154.2358.4868.8576.8483.9891.899.4593.84114.24114.75
866"35.1941.1451.6858.6564.2675.4884.4991.63101.15109.48121.38125.12125.46
972"38.7643.6955.2563.9270.3881.7791.8097.58107.1116.11129.71133.79140.08
1078"40.6347.7756.6165.9672.0885.3494.52100.64114.41124.27139.06143.31143.82
1184"42.550.6660.1870.8977.5288.5796.39107.78123.08133.11148.92153.17154.19
1290"45.7353.8963.9275.4882.1193.50102.00114.58130.39141.44158.61163.54164.9
1396"47.0959.1669.783.4790.78104.89115.26134.98142.12154.19172.89174.08178.33
14102"49.6463.0775.1488.496.56111.86122.23137.02151.13163.54183.94185.47186.15
15108"52.0264.7777.5292.82104.89116.79128.35144.16159.12172.21192.95194.14195.33
Sheet1
 
Upvote 0
Try and extend the formula I posted

Instead of F1 and F2 use cells not in the matrix for your criteria

Aloha Smitty! :ROFLMAO:
 
Upvote 0
I attempted what Brian suggested but I just kept getting an N/A even though I extended it.
 
Upvote 0
Thank you guys! I got it! I was forgetting to link it to the cells where I had put the data validation. 5 stars for everyone!
 
Upvote 0

Forum statistics

Threads
1,215,440
Messages
6,124,882
Members
449,193
Latest member
PurplePlop

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top