drop down menu with different price list that reflect on other cells

eagle111

New Member
Joined
Dec 25, 2020
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
I have two items, with two different price list for each, I would like to create a drop down menu with the pricelist of each, so when I choose the particular item and then go to price code, I get a drop down menu with two pricelist, when I choose pricelist1, automatically the price of this item reflect under official price

apply the below :

in the item list when I choose the product ( rice or lemon )

rice - under price code: (drop down menu ) pricelist1, pricelist2 >>>> the price of rice should reflect in the official price

lemon - under price code : (drop down menu ) pricelist1, pricelist2 >>>> the price of lemon should reflect in the official price



how can I do that ?
 

Attachments

  • 00000000000000.jpg
    00000000000000.jpg
    51.5 KB · Views: 52

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Welcome to MrExcel Message Board
Please upload your file with XL2BB Addin (Perferable) or upload at free uploading site, e.g. Dropbox and input link here.
 
Upvote 0
1. At Sheet2 Select items(rice , lemon) and go formula tab and select Define Names , add the Name Box write Items and check Refer to Cell address is Correct.
2. Repeat Step 1 for PriceLists and add the Name Box write PriceLists
3. Select Cells you want first dropdown and go to Data tab. Select Data Validation Change Any Value to List.
4. At Source box , Hit F3 Key and Select Items or write it =Items and hit OK.
5. For 2nd dropdows repeat step 3 & 4 and select PriceLists
6. At the cell you want show pricelists enter this formula:
Excel Formula:
=INDEX($C$2:$E$3, MATCH(B5,Items,0),MATCH(C5,Pricelists,0))
$C$2:$E$3 is your unit and price cell address at Sheet2
Change B5 to your first dropdown cell address
Change C5 to your 2nd dropdown cell address
 
Upvote 0
Sorry my fault
Change at formula
$C$2:$E$3
To
$D$2:$E$3
Excel Formula:
=INDEX($D$2:$E$3, MATCH(B5,Items,0),MATCH(C5,Pricelists,0))
$D$2:$E$3 is your price cell address at Sheet2
 
Upvote 0
check Refer t
Sorry my fault
Change at formula
$C$2:$E$3
To
$D$2:$E$3
Excel Formula:
=INDEX($D$2:$E$3, MATCH(B5,Items,0),MATCH(C5,Pricelists,0))
$D$2:$E$3 is your price cell address at Sheet2
could you kindly update the formula in the excel sheet and and upload it again, I am sorry but I am not very good at excel and I need it for my work... and God bless you
et2 Select it
 
Upvote 0

Forum statistics

Threads
1,214,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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