+ Reply to Thread
Results 1 to 3 of 3

Combo/List Boxes

Hybrid View

  1. #1
    Registered User
    Join Date
    01-11-2006
    Posts
    2

    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.

  2. #2
    Max
    Guest

    Re: 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" <Fordy.24d0x1_1141836328.8703@excelforum-nospam.com> wrote in
    message news:Fordy.24d0x1_1141836328.8703@excelforum-nospam.com...
    >
    > 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. #3
    paul
    Guest

    Re: 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!
    paul.shepherd@nospamparadise.net.nz



    "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" <Fordy.24d0x1_1141836328.8703@excelforum-nospam.com> wrote in
    > message news:Fordy.24d0x1_1141836328.8703@excelforum-nospam.com...
    > >
    > > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1