dependent multiple drop-down menu [formula only, no VBA please]

Beatrice

Board Regular
Joined
Sep 17, 2019
Messages
85
Office Version
  1. 2019
Platform
  1. Windows
Hi gurus,

I wanted to create a dependent multiple drop-down menu, but since the company is using different versions of excel, also in Mac & PC. so I need it in formula only, no VBA please.
Is it possible to do so? Thanks to advise. ?‍♀️


TypeNameCountryPriceTypeNameCountryPrice
MeatPorkChina32.00
MeatChickenBrazil28.00
MeatChickenChina24.00
MeatBeefChina38.00
MeatBeefAustralia42.80
MeatBeefJapan68.00
FruitOrangeChina2.99
FruitOrangeAustralia4.99
FruitOrangeUSA3.99
FruitAppleChina3.99
FruitAppleJapan6.99
FruitAppleUSA5.99
FruitBananaPhilippines6.99
 

Attachments

  • Capture.PNG
    Capture.PNG
    19 KB · Views: 15
not sure if it helps but I did something similar last week and just added "=SORT(formula you already have,1,1,false) to sort it alphabetically. the 1,1,false part is ascending/descending

I also used slightly different formula to the above - it might not help you if you already have a solution but maybe it will help others?

=UNIQUE(FILTER(range where answer is, range to look in=result you're looking for))
e.g. =UNIQUE(FILTER(A1:A100, B1:B100=C1))
If these functions are acceptable, then it is much easier, but I'm not sure. Using functions that are usable only in latest Excel will limit portability to older version on some PC.
 
Upvote 0

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
No worries, Thanks anyway. Have a good day :)
My bad. I forgot about not using macro but I suggested in Post #8.

The advise I gave was wrong. If you sort the source such as sorting the Name, the Country will will not be sorted. If you sort the Country, then the Name will be jumbled.

Therefore, unless it can be done within the formula inside validation there is no way you can have each drop down sorted. I'm not sure the new Excel 365 SORT function can do it or not but that will limit to PC with 365 only I guess. :(
 
Upvote 0
not sure if it helps but I did something similar last week and just added "=SORT(formula you already have,1,1,false) to sort it alphabetically. the 1,1,false part is ascending/descending

I also used slightly different formula to the above - it might not help you if you already have a solution but maybe it will help others?

=UNIQUE(FILTER(range where answer is, range to look in=result you're looking for))
e.g. =UNIQUE(FILTER(A1:A100, B1:B100=C1))
Thanks but in version 2019, these function of "SORT" and "UNIQUE" not validate.
 
Upvote 0
My bad. I forgot about not using macro but I suggested in Post #8.

The advise I gave was wrong. If you sort the source such as sorting the Name, the Country will will not be sorted. If you sort the Country, then the Name will be jumbled.

Therefore, unless it can be done within the formula inside validation there is no way you can have each drop down sorted. I'm not sure the new Excel 365 SORT function can do it or not but that will limit to PC with 365 only I guess. :(
Thanks Zot for follow up my case, I will still try though. (Knowing team share with google sheets do not suppose VBA).
 
Upvote 0

Forum statistics

Threads
1,224,045
Messages
6,176,062
Members
452,702
Latest member
Gulzar Hussain Chisti

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