AOB
Well-known Member
- Joined
- Dec 15, 2010
- Messages
- 669
- Office Version
- 365
- 2016
- 2013
- Platform
- Windows
I'm trying to create a dynamic / dependent set of dropdowns across multiple columns, where each of the dropdowns on a particular row are populated based on the selections in each of the dependent columns.
I have a table/range with all of the acceptable combinations :
So what I am trying to achieve is a series of dropdowns per row, where as each cell value is selected, the dropdown options for the dependent cells are reduced such that only acceptable combinations are available.
So if the user selects "Europe" from the Region column, the dropdown in the Country column reduces to just "Ireland" or "UK" (USA is no longer an option), the dropdown in the State/Province column reduces to just "Leinster", "Munster", "Ulster", "Greater London" or "Lancashire" (California is no longer an option) and the dropdown in the City column reduces to just "Dublin", "Cork", "Limerick", "Belfast", "London" or "Manchester" (Los Angeles and San Francisco are no longer options)
If the user then selects "UK" from the Country column, the State/Province column options reduce to just "Greater London" or "Lancashire" and the City column options reduce to just "London" or "Manchester" and so on.
There can be no requirement on the user to select options in any particular order (i.e. they don't have to choose Region, then Country, then State, then City; they need to be able to select options in any arbitrary order)
I presume I will need a series of dynamic named ranges involving SORT, UNIQUE and FILTER but I'm struggling to define those ranges in such a way that I can then apply them to the data validations for each cell.
Any suggestions?
I have a table/range with all of the acceptable combinations :
Region | Country | State/Province | City |
Europe | Ireland | Leinster | Dublin |
Europe | Ireland | Munster | Cork |
Europe | Ireland | Munster | Limerick |
Europe | Ireland | Ulster | Belfast |
Europe | UK | Greater London | London |
Europe | UK | Lancashire | Manchester |
America | USA | California | Los Angeles |
America | USA | California | San Francisco |
So what I am trying to achieve is a series of dropdowns per row, where as each cell value is selected, the dropdown options for the dependent cells are reduced such that only acceptable combinations are available.
So if the user selects "Europe" from the Region column, the dropdown in the Country column reduces to just "Ireland" or "UK" (USA is no longer an option), the dropdown in the State/Province column reduces to just "Leinster", "Munster", "Ulster", "Greater London" or "Lancashire" (California is no longer an option) and the dropdown in the City column reduces to just "Dublin", "Cork", "Limerick", "Belfast", "London" or "Manchester" (Los Angeles and San Francisco are no longer options)
If the user then selects "UK" from the Country column, the State/Province column options reduce to just "Greater London" or "Lancashire" and the City column options reduce to just "London" or "Manchester" and so on.
There can be no requirement on the user to select options in any particular order (i.e. they don't have to choose Region, then Country, then State, then City; they need to be able to select options in any arbitrary order)
I presume I will need a series of dynamic named ranges involving SORT, UNIQUE and FILTER but I'm struggling to define those ranges in such a way that I can then apply them to the data validations for each cell.
Any suggestions?