+ Reply to Thread
Results 1 to 3 of 3

linked drop down list boxes and external source

  1. #1
    Registered User
    Join Date
    08-26-2010
    Location
    Richmond Hill, Canada
    MS-Off Ver
    Excel 2003
    Posts
    5

    Question linked drop down list boxes and external source

    Hi,

    I would like to load a drop down list from a csv file.
    The csv file would look like this

    group A,member 1
    group A, member 2
    group A, member 3
    group B, Member 4
    group B, Member 5

    The dropdown listbox cell would exist for each row of column A and be loaded
    with group A and Group B.

    When the user selects Group A or B this would drive the populate of the adjacent list box cell in Column C with only member for Group A for example.

    ie.: Select Group A in Cell A1 means that dropdown list box cell only has
    Member 1, Member 2, and Member 3 available for selection.

    Is this possible?

    I know this would be easier if a range of cells were included in a second worksheet, or something but the list comes from an external source. this csv file would be updated every week.

    Thanks

    Chris

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: linked drop down list boxes and external source

    The external worksheet would need to be imported into your worksheet into that secondary worksheet and the values updated. You would also need to create named ranges out of this data since data validation lists only work on names ranges unless all the source lists are on the same worksheet, which is usually untidy.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-29-2005
    Location
    Boston, MA
    Posts
    56

    Re: linked drop down list boxes and external source

    Use a Data Validation List with initial values
    Put the data from an access database

    On change of cell,
    retrieve information from access database. .

    I created spreadsheet with a validation cell with listing of all US states
    change the state, excel goes to access, pulls down all counties
    next cell has a validation of all the counties, select a county
    excel goes into access and gets all the cities in the county
    the next data validation cell has all the cities, select the city
    excel then goes into the access database and gets the pricing information
    and populates the excel sheet with various pricing elements.

    I have designed this several times, its fast, easy, and can work efficiently
    over a network with ADO

    sportsguy

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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