Data selection from a table

bindon87

New Member
Joined
Oct 17, 2017
Messages
2
I'm looking for some help - I have a cross reference pricing table which based upon the selection will give a price.

What I would like is to enter the criteria in a number of selection boxes and for it to lookup the correct price. i.e. in the boxes I would have selected the criteria in green from a 3 drop down boxes and it would have given the price in red.
Payment
Product 1
Product 2
Product 3
Method 1
Employee
£4.90
£7.95
£9.70
Method 1
Employee & Partner
£9.80
£15.90
£19.40
Method 1
Single Parent Family
£8.35
£13.50
£16.50
Method 1
Family
£13.25
£21.45
£26.20
Method 2
Employee
£6.00
£9.70
£13.55
Method 2
Employee & Partner
£12.00
£19.40
£27.10
Method 2
Single Parent Family
£10.20
£16.50
£23.05
Method 2
Family
£16.20
£26.20
£36.60
Method 3
Employee
£8.20
£8.70
£17.85
Method 3
Employee & Partner
£16.40
£17.40
£35.70
Method 3
Single Parent Family
£13.95
£14.80
£30.30
Method 3
Family
£22.15
£23.50
£48.10
Method 4
Employee
£8.20
£8.70
£17.85
Method 4
Employee & Partner
£16.40
£17.40
£35.70
Method 4
Single Parent Family
£13.95
£14.80
£30.30
Method 4
Family
£22.15
£23.50
£48.10

<tbody>
</tbody>

Can anyone help?

Thanks in advance.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Would you be happy to Use 3 Validation DropDowns and select "Payment", "Relative" then "Product" in that Order and then retrieve the "Price" in a certain cell (Say, "D1")
 
Upvote 0
Try this example:-
https://app.box.com/s/s4vx1zcmddg7r5nwngiqac2ydgqja2ud

NB:- If you Decide to use this Option in your own sheet based on My sheet2 option you will need to do the following:-
(Or you could possibly Use My sheet modified to your requirements.)

1) Add the validation lists in A2 to C2 as per the example on you selected sheet.
2) Move the code as follows:-
Right click my sheet2 "Sheet Tab", Select "View Code" from the drop down. Vbwindow and code appear.
Copy code from code window.
Open your sheet (sheet with validation List), Right Click your sheet tab, select "View Code" Vb window appears.
Paste code into your sheet Vbwindow, Close VbWindow

NB:- My Sheet2 code specifically refers to Sheet1 as being the sheet with Your data in !!!!
The Sheet1 code refer to the current "Active sheet" with Your data.
 
Upvote 0

Forum statistics

Threads
1,215,053
Messages
6,122,882
Members
449,097
Latest member
dbomb1414

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