Drop Down List and Sub-lists of Differing Sizes

EasterGreen

Board Regular
Joined
Sep 7, 2009
Messages
50
I want to use a drop down menu to select any 1 of x areas, let's say these are the States where we have sales people. That's ok with Data Validation/Lists.
Each sales area or State may have between 5 and 20 counties where we have customers.
How can I select a State and then have each county populate into a range below? I can then do lookups by county for a variety of data points.
See attached image for what I mean.
Grateful for any help.
Image 1.jpg

Stretch goal!
The number of rows where the list of counties can populate can be fixed to a maximum so I can have a predictable location of a total row, but could it also be dynamic?
That is, the total will move up and down as the population above it changes.
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
I can help with this. I love dynamic named ranges and creating dependent drop down lists.

What version of Excel are you using? Office 365 has some really cool features, but we can still create formulas in older versions.

I think your tables are a little off. Don't you want to include all your unique Areas in one table? Then you need a table that has all your Areas with all the Counties and sales.

Is this your real data set?

Are you ready for a little back and forth and some mind stretching formulas??
 
Upvote 0
Great, thanks.
Yes, I have one data set with all Areas and Counties in it. I also have another data set with all sales transactions and these have Areas and Counties as data columns.
I want to select an Area, populate dynamically the Counties and sum sales by County.
 
Upvote 0
Office 365.
I can't upload the data. The area/county one is about 200 rows and the sales one is 5,000 rows by 50 columns.
 
Upvote 0
Then we need to create a comprehensive list with all of your areas all of your sub areas and all of your sales.
 
Upvote 0
If you could post even just a portion of those tables then I could get started
 
Upvote 0
Area1County1_01Customer01
454​
Area1County1_02Customer02
600​
Area1County1_03Customer03
242​
Area1County1_04Customer04
382​
Area1County1_05Customer05
115​
Area1County1_06Customer06
827​
Area1County1_07Customer07
384​
Area1County1_08Customer08
41​
Area2County2_01Customer01
986​
Area3County3_01Customer02
393​
Area3County3_02Customer03
531​
Area3County3_03Customer04
218​
Area3County3_04Customer05
499​
Area3County3_05Customer06
245​
Area3County3_06Customer07
760​
Area3County3_07Customer08
863​
Area3County3_08Customer01
872​
Area3County3_09Customer02
168​
Area3County3_10Customer03
379​
Area3County3_11Customer04
696​
Area3County3_12Customer05
722​
Area3County3_13Customer06
857​
Area3County3_14Customer07
329​
Area3County3_15Customer08
34​
Area3County3_16Customer01
158​
Area3County3_17Customer02
621​
Area3County3_18Customer03
942​
Area3County3_19Customer04
279​
Area4County4_01Customer05
794​
Area4County4_02Customer06
602​
Area4County4_03Customer07
193​
Area4County4_04Customer08
737​
Area4County4_05Customer01
313​
Area4County4_06Customer02
958​
 
Upvote 0

Forum statistics

Threads
1,214,913
Messages
6,122,207
Members
449,074
Latest member
cancansova

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