Dynamic Dependent Drop Down Lists

FluffySlipper

New Member
Joined
Sep 7, 2024
Messages
4
Office Version
  1. 365
Platform
  1. MacOS
Hi, I am having some trouble with dynamic dependent drop down lists. I am trying to create drop downs that will eventually allow easy costing of holidays. My drop downs are Country, Location, Operator, Venue etc. The problems I have are:
1) Not all the values are being returned by the SORT(Unique(Filter formula (there are no blanks or zeros in the data set), i.e. Only Locations for Zimbabwe are being returned
2) The drop downs that I have working are not dependent, i.e. I can select Botswana and it gives me Locations in Zimbabwe, whereas I only want the options for Botswana, if that is what is selected under Country.

I've uploaded mini sheets of my base data, the unique lists and the drop down lists. Hopefully this is helpful, but happy to post a link to the file if that would be easier. I would be very grateful for any assistance.

Costing Spreadsheet.xlsx
ABCDEF
1CountryLocationOperatorVenue NameAccommodation OptionsPeriod
5ZimbabweHwangeAfrican Bush CampsSomalisa Acacia - Hwange2 Luxury Tented Suites, 2 Family Tented SuitesApril
17ZimbabweHwangeAfrican Bush CampsSomalisa Expeditions - Hwange5 Luxuary Tents, 1 Family TentApril
29ZimbabweHwangeAfrican Bush CampsSomalisa Signature- Hwange7 Luxuary Tented SuitesApril
41ZimbabweHwangeAfrican SunHwange Safari Lodge - HwangeDeluxe RoomApril
53ZimbabweHwangeAfrican SunHwange Safari Lodge - HwangeDeluxe RoomApril
65ZimbabweHwangeAfrican SunHwange Safari Lodge - HwangeDeluxe SuiteApril
77ZimbabweHwangeAfrican SunHwange Safari Lodge - HwangeDeluxe SuiteApril
89ZimbabweHwangeAfrican SunHwange Safari Lodge - HwangeExecutive SuiteApril
101ZimbabweHwangeAfrican SunHwange Safari Lodge - HwangeExecutive SuiteApril
113ZimbabweHwangeWild ExpiditionsCamp HwangeFull BoardApril
125ZimbabweKaribaAfrican Bush CampsBumi Hills - Kariba8 Lakeview Suites, 1 Interleading SuiteApril
137ZimbabweKaribaAfrican Bush CampsBumi Hills Baobab Villa - Kariba1 Baobab VillaApril
149ZimbabweKaribaAfrican SunCaribbea Bay - KaribaStandard (Deluxe Suite)April
161ZimbabweKaribaAfrican SunCaribbea Bay - KaribaStandard (Executive Suite)April
173ZimbabweKaribaAfrican SunCaribbea Bay - KaribaStandard (Executive Suite)April
185ZimbabweKaribaAfrican SunCaribbea Bay - KaribaStandard RoomApril
197ZimbabweMana PoolsAfrican Bush CampsKanga Expeditions - Mana Pools4 Luxuary Tents, 1 Family Tents, 1 Honeymoon TentApril
209ZimbabweMana PoolsAfrican Bush CampsNyamatusi Mahogany - Mana Pools2 Luxury Tented Suites, 2 Family Tented SuitesApril
221ZimbabweMana PoolsAfrican Bush CampsNyamatusi Signature - Mana Pools6 Luxury TentsApril
233ZimbabweMana PoolsAfrican Bush CampsZambezi Expeditions - Mana Pools6 Luxury TentsApril
245ZimbabweMotoboAfrican Bush CampsKhayelitshe - Motobo National Park4 Luxury SuitesApril
257ZimbabweVic FallsAfrican SunElephant Hills - Vic FallsDeluxe SuiteApril
269ZimbabweVic FallsAfrican SunElephant Hills - Vic FallsExecutive SuiteApril
281ZimbabweVic FallsAfrican SunElephant Hills - Vic FallsPresidential SuiteApril
293ZimbabweVic FallsAfrican SunElephant Hills - Vic FallsStandard (Falls & Spray View)April
305ZimbabweVic FallsAfrican SunElephant Hills - Vic FallsStandard (Game, Golf & River Sunset)April
314ZambiaLivingstonaaaaaaaApril
315ZambiaLivingstonababbApril
316NamibiabbbbbbApril
317NamibiabbbcbccApril
318BotswanaccccccApril
Accommodation


Costing Spreadsheet.xlsx
OPQRST
1CountryLocationOperatorVenue Nameaccommodation OptionsPeriod
2BotswanaHwangeAfrican Bush CampsBumi Hills - Kariba5 Luxuary Tents, 1 Family TentApril
3NamibiaKaribaAfrican SunBumi Hills Baobab Villa - KaribaAugust
4ZambiaMana PoolsWild ExpiditionsKanga Expeditions - Mana PoolsDecember
5ZimbabweMotoboKhayelitshe - Motobo National ParkFebruary
6Vic FallsNyamatusi Mahogany - Mana PoolsJanuary
7Nyamatusi Signature - Mana PoolsJuly
8Somalisa Acacia - HwangeJune
9Somalisa Expeditions - HwangeMarch
10Somalisa Signature- HwangeMay
11Zambezi Expeditions - Mana PoolsNovember
12October
13September
14
15
16
Accommodation
Cell Formulas
RangeFormula
O2:O5O2=SORT(UNIQUE(Accommodation[Country]))
P2:P6P2=SORT(UNIQUE(FILTER(Accommodation[Location],Accommodation[Country]=$A20)))
Q2:Q4Q2=SORT(UNIQUE(FILTER(Accommodation[Operator],Accommodation[Location]=$B20)))
R2:R11R2=SORT(UNIQUE(FILTER(Accommodation[Venue Name],Accommodation[Operator]=$C20)))
S2S2=SORT(UNIQUE(FILTER(Accommodation[Accommodation Options],Accommodation[Venue Name]=$D20)))
T2:T13T2=SORT(UNIQUE(FILTER(Accommodation[Period],Accommodation[Venue Name]=$D20)))
Dynamic array formulas.


Costing Spreadsheet.xlsx
ABCDEF
18Accommodation
19CountryLocationOperatorVenue NameAccommodation OptionsPeriod
20ZimbabweVic FallsAfrican Sun
21
22
23
24
25
26
Summary
Cells with Data Validation
CellAllowCriteria
A20List=Accommodation!$O$2#
B20List=Accommodation!$P$2#
C20List=Accommodation!$Q$2#
D20List=Accommodation!$R$2#
E20List=Accommodation!$S$2#
 

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.

Forum statistics

Threads
1,223,944
Messages
6,175,554
Members
452,652
Latest member
eduedu

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