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

#### eagle111

##### New Member
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
51.5 KB · Views: 48

### Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Welcome to MrExcel Message Board

Welcome to MrExcel Message Board
here sir,

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))``

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))``

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))``
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

Replies
1
Views
186
Replies
0
Views
38
Replies
3
Views
459
Replies
1
Views
318
Replies
3
Views
285

1,203,756
Messages
6,057,162
Members
444,909
Latest member
Shambles111

### 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.

### Which adblocker are you using?

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

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