Form Combobox Combo

deepheat

New Member
Joined
Jul 5, 2006
Messages
46
Greetings Fellow Excel'ers

I have two form-type Combo Boxes ("List A" and "List B") on a sheet and I would like the input-range of the second to be dependant on the value of the first.

My lists are as follows...
Code:
List A       SubList-1   SubList-2   SubList-3
SubList-1    Apples      Blue        ****
SubList-2    Bananas     Pink        Harry
SubList-3    Pears       Red         Tom
                         Yellow
I would like to be able to select an item from combo box "List A" and then have combo box "List B" have the appropriate list as shown above. So if I select "SubList-3" from "List A", "List B" would have "****", "Tom" and "Harry" as its inputs.

I've tried defining a name (cmboOthers) using...
Code:
=CHOOSE(L2,OFFSET($N$5,0,0,COUNTA($N:$N)-3,1),OFFSET($P$5,0,0,COUNTA($P:$P)-3,1),OFFSET($R$5,0,0,COUNTA($R:$R)-3,1))
(List A value held at L2 while sublists are in columns N, P and R and start from row 5)

...but when I attempt to add the name cmboOthers into the "Input range" field of the combo box "Format Control" dialogue box I receive a pop-up saying "Reference is not valid". At this point I get stuck!

How do I make this work?

I'm using 2007.


Many Thanks in advance

dp
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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