combo box

mypig7

Active Member
Joined
Sep 27, 2004
Messages
285
I need a combo box with 5 options in it.

If I choose Option 1 from the box, then in the cell to the right of it I need 5 further sub options to appear as options in a combo box, so they are related.

And if I choose Option 2 in the box then to the right in the next combo some sub categories which relate to option 2 appear.

How can I do this.
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".

chef

Well-known Member
Joined
Jul 10, 2002
Messages
577
Office Version
  1. 365
  2. 2016
I manage double combo boxes by inserting unique identifiers against each heading and concatenation...it's easier to see...if you email me I'll send you an example of what i mean..this is done using forms from the control box and not done in vba

regards
chef
 

mightymishra

Board Regular
Joined
Oct 18, 2002
Messages
65
Hey Chef can u share that thing with all of us,

i could manage using datavalidation
Using Data validation on cell C1 for master list and D1 for dynamic sub option list

I1:I5 has Option1 to option 5
J1:J2 has 2 Sub option for option 1
K1:K2 has 2 Sub option for option 2
L1:L2 has 2 Sub option for option 3
M1:M2 has 2 Sub option for option 4
N1:N2 has 2 Sub option for option 5

Data Validation > list source for
C1 => "=I1:I5"
D1 => "=IF(C1="","",CHOOSE(MATCH(C1,I1:I5),J1:J2,K1:K2,L1:L2,M1:M2,N1:N2))"
 

chef

Well-known Member
Joined
Jul 10, 2002
Messages
577
Office Version
  1. 365
  2. 2016
sure...i'm back at work in the morning and will email an attached file...anyone else is welcome.....

i've left all the formula etc as is.....and you just need to follow the principles and populate your own entries...
regards
chef
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,019
Messages
5,834,983
Members
430,331
Latest member
Syed Yasir Hannan

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
Top