+ Reply to Thread
Results 1 to 8 of 8

how to link different dropdown lists

  1. #1
    Registered User
    Join Date
    12-04-2008
    Location
    sheffield
    Posts
    23

    how to link different dropdown lists

    --------------------------------------------------------------------------------

    Hopefully this will make sense,

    I have a work book that contains various sheets with different information.
    I have two different categories in one of the sheets,1 which contains counties and the other containing districts.I have done a validation for the county which allows me to pick a county from a drop down list which works fine.I would like to create a drop down list for the districts aswell such that when i select i.e southyorkshire from the counties dropdown list,the districts drop down list will bring only districts in southyorkshire,excluding all the other districsts.hopefully i'll like the same to apply to all other counties.

    Please can I get some help on this.
    Last edited by fodeps; 02-27-2009 at 01:29 PM.

  2. #2
    Forum Contributor GuruWannaB's Avatar
    Join Date
    01-24-2008
    Location
    An hour due East of Cowtown Ohio
    MS-Off Ver
    2010
    Posts
    421

    Re: how to link different dropdown lists

    Here is a spreadsheet that may help you.
    Attached Files Attached Files
    I help because of the Pavlovian dog that resides in the inner me...so if you are happy with the results, please add to my reputation. It helps keep me motivated!



    Please mark your threads as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: how to link different dropdown lists

    Quote Originally Posted by fodeps View Post
    --------------------------------------------------------------------------------

    Hopefully this will make sense,

    I have a work book that contains various sheets with different information.
    I have two different categories in one of the sheets,1 which contains counties and the other containing districts.I have done a validation for the county which allows me to pick a county from a drop down list which works fine.I would like to create a drop down list for the districts aswell such that when i select i.e southyorkshire from the counties dropdown list,the districts drop down list will bring only districts in southyorkshire,excluding all the other districsts.hopefully i'll like the same to apply to all other counties.

    Please can I get some help on this.
    Check here for a tuturial

    Dependant Lists
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  4. #4
    Registered User
    Join Date
    12-04-2008
    Location
    sheffield
    Posts
    23

    Re: how to link different dropdown lists

    I dont know what i'm doing wrong it seems okey as in the first step but when i get to creating the dependant data validation,its not working.i've attached a workbook for you to see
    many thanks in advance
    Attached Files Attached Files

  5. #5
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: how to link different dropdown lists

    You need to create named ranges for each of those columns... (and make that your permanent table).

    Then the data validation has to be separate (e.g. in another area, sheet)...

    See attached...

    Go to Insert|Name|Define to see how each was named

    Cell H2 is where you select a team

    Then I2 is the dependant list that shows up based on the selection made in H2.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-04-2008
    Location
    sheffield
    Posts
    23

    Thumbs up Re: how to link different dropdown lists

    Many thanks it's working now.

  7. #7
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: how to link different dropdown lists

    Hi,

    I thought I'd improve on it a bit for you and allow for dynamic ranges...

    so that it doesn't show blanks in your drop down lists and also allows for you to add items to any of the columns and this will update the drop downs automatically....

    See attached.. note the changes in the named ranges and in the formula for data validition in I2.

    Hope this helps more.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    04-27-2009
    Location
    Manchester
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: how to link different dropdown lists

    Hi I have a similar problem, i wonder if you can help.

    I have two lists.
    List 1 (name) -Dave, Colin, Adam
    List 2 (age) - 18 25 35

    I am trying to work out how to link the two lists so that if someone chooses 'dave' from the first list, the next cell will automatically choose the corresponding age ie.'18'

    Please help,

    Thanks in advance,

    Torch Man

+ 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