Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
Fordy
 
Posts: n/a
Default Combo/List Boxes


I have a sheet with a combo box containing roughly 20 words and an empty
list box.

Is it possible for me to display in the list box a list of names for
example which varies depending on what is chosen in the combo box.

For example my combo box has 20 holiday destinations, If i choose
France for example could I have my list box display a list of people
that had been to France.

Any help is much appreciated.

~Fordy.


--
Fordy
------------------------------------------------------------------------
Fordy's Profile: http://www.excelforum.com/member.php...o&userid=30365
View this thread: http://www.excelforum.com/showthread...hreadid=520171

  #2   Report Post  
Posted to microsoft.public.excel.newusers
Max
 
Posts: n/a
Default Combo/List Boxes

Not very sure, but perhaps you might want to
try Debra's coverage on creating dependent lists at:
http://www.contextures.com/xlDataVal02.html
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Fordy" wrote in
message ...

I have a sheet with a combo box containing roughly 20 words and an empty
list box.

Is it possible for me to display in the list box a list of names for
example which varies depending on what is chosen in the combo box.

For example my combo box has 20 holiday destinations, If i choose
France for example could I have my list box display a list of people
that had been to France.

Any help is much appreciated.

~Fordy.


--
Fordy
------------------------------------------------------------------------
Fordy's Profile:

http://www.excelforum.com/member.php...o&userid=30365
View this thread: http://www.excelforum.com/showthread...hreadid=520171



  #3   Report Post  
Posted to microsoft.public.excel.newusers
paul
 
Posts: n/a
Default Combo/List Boxes

yes..i use the combo box from the toolbar and have made one combo box
populate the other via a vookuptable and match function.I dont use the list
box but i had a quick look and it looks like it is the same input wise
so you have your first combobox diplaying your 20 countries which are the
first row in your table.The first column in your table is a column of numbers
1 to 20
say your table is A11 i 22(okay its a small table
your countries are in b11,c11 etc
your numbers are in a12a13,a14 etc
your names are in the columns under each country
In the range of cells that make up the list for your list box type this
formula
=VLOOKUP(1,A$11:D$22,MATCH(G$8,A$11:D$11,0),FALSE)
in the cell below
=VLOOKUP(2,A$11:D$22,MATCH(G$8,A$11:D$11,0),FALSE)
etc through to say
=VLOOKUP(20,A$11:D$22,MATCH(G$8,A$11:D$11,0),FALSE )
g8 is the output cell from your combo box
so you select france from the first dropdown box,the match finds france
across the top and vlookup puts mane1 in cell1,name 2 in cell 2 etc etc
get it?
send me an email with list to list in subject line and i can send an example
paul
remove nospam for email addy!




"Max" wrote:

Not very sure, but perhaps you might want to
try Debra's coverage on creating dependent lists at:
http://www.contextures.com/xlDataVal02.html
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Fordy" wrote in
message ...

I have a sheet with a combo box containing roughly 20 words and an empty
list box.

Is it possible for me to display in the list box a list of names for
example which varies depending on what is chosen in the combo box.

For example my combo box has 20 holiday destinations, If i choose
France for example could I have my list box display a list of people
that had been to France.

Any help is much appreciated.

~Fordy.


--
Fordy
------------------------------------------------------------------------
Fordy's Profile:

http://www.excelforum.com/member.php...o&userid=30365
View this thread: http://www.excelforum.com/showthread...hreadid=520171




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
XL97: Position text boxes (or data labels) w/out VBA LeAnne Charts and Charting in Excel 1 December 1st 05 09:07 PM
check boxes - copy MarkT Excel Discussion (Misc queries) 2 October 20th 05 04:33 PM
Check boxes - when one box is checked, I want a 2nd box to auto ch Russell-stanely Excel Discussion (Misc queries) 2 July 1st 05 08:52 PM
Excel 2002 Will Not Print Text Boxes Mark Excel Discussion (Misc queries) 3 April 16th 05 12:03 AM
text boxes disappear off screen mark gregory Excel Discussion (Misc queries) 2 April 4th 05 11:47 AM


All times are GMT +1. The time now is 10:55 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"