Multiple (conditional) dropdown menus

DSLA

Active Member
Joined
Jun 6, 2005
Messages
301
I have a list of customers (about a thousand of them), and each of the customers has one of twenty area codes. I have created a dropdown list of the area codes. Now I would like to have another dropdown list, that lists all of the customers related to the area code indicated by the first dropdown selection.
The customers are listed on a sheet, the column A indicates the customer and column B the area code. I was thinking that the best way to do this would be to link a macro to the first dropdown list, and the macro would copy all of the customers from that area to a configuration sheet, where the second dropdown list would pick the values from. The macro should also check whether the customer already appears on the configuration sheet, since some customers appears on multiple rows (I have also some other information linked to the customer).
I don’t know if this is the best solution, neither how to create such a macro. Any help is highly appreciated! Thanks in advance.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
There's no need for a macro. Do a Google search on linked dropdowns, the process is quite straight-forward.
 
Upvote 0

Forum statistics

Threads
1,224,587
Messages
6,179,735
Members
452,939
Latest member
WCrawford

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