Combobox with conditional

DalPai

New Member
Joined
Aug 13, 2018
Messages
29
I have this problem here:


I have a list of 300 users of a site.
Each user has one department (200 departments in total) and one region (AND, BRZ, PER, RDP).
Each region has 50 departments.


I made a speedometer that shows the % of access on the site by region. I used a combo box + INDEX. Worked perfectly.


I wanted to improve and made a speedometer that shows the % of access by region and department. But I came across this problem:


I use two combo boxes (one with the region and one with the departments) + INDEX. But the 2nd box shows all 200 departments. Can I do something so that when I select a certain region in box 1 (BRZ for example), only the departments related to that region appear?


By data validation, I was able to use = INDIRECT to make this separation. But I need the "Cell Link" of the combo box to do the operations with INDEX.


Anyone know what I can do?
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"

Forum statistics

Threads
1,223,893
Messages
6,175,246
Members
452,623
Latest member
cliftonhandyman

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