+ Reply to Thread
Results 1 to 6 of 6

Trying to make multiple dependent drop down list with dynamic ranges

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2004
    Posts
    11

    Trying to make multiple dependent drop down list with dynamic ranges

    I want to set up two drop-down lists. The selection you make determines what you get in the second drop-down. The trouble is, I want the ranges to be dynamic, so I can add more materials to the lists without having to rewrite the code. I have successfully done it with a static range.

    This website has exactly the example I'm looking for at the very bottom of the page.
    http://www.contextures.com/xlDataVal02.html
    The trouble is, I haven't been able to make it work. I even tried recreating her example, and it wouldn't work. It says that it is referencing an error, and the drop down doesn't show any options even when the first column is filled in correctly.
    Last edited by Gwen@YouWantWhat?; 09-28-2012 at 05:31 PM.

  2. #2
    Valued Forum Contributor
    Join Date
    03-16-2012
    Location
    Aarhus, Denmark
    MS-Off Ver
    Excel 2007
    Posts
    992

    Re: Trying to make multiple dependent drop down list with dynamic ranges

    There could be a number of reasons why it isn't working for you. Perhaps you could upload your workbook, or a sample of it?
    Sincerely
    S?ren Larsen

    "Give a man a fish, and you'll feed him for a day. Give a man a fishing rod, and he'll steal your yacht!"

  3. #3
    Registered User
    Join Date
    08-30-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2004
    Posts
    11

    Re: Trying to make multiple dependent drop down list with dynamic ranges

    sample.xls

    Attached is a simplified sample of my document. The only things I changed from Contexture's example is not including the SUBSTITUTE function, as none of my categories have multiple words. (I would eventually like to make the sub-categories not include the column title, but that can be fixed after the real problem is solved.)

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Trying to make multiple dependent drop down list with dynamic ranges

    Your data validation formula in C2 is referencing cell B2. It should be referencing B5 (twice)
    Does that help?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    08-30-2012
    Location
    Denver, CO
    MS-Off Ver
    Excel 2004
    Posts
    11

    Re: Trying to make multiple dependent drop down list with dynamic ranges

    That wasn't actually the problem in the original document, but it did make me find it! I had been using a dynamic OFFSET list for each of my column lists, and that was what was throwing things off. Thank you!

  6. #6
    Valued Forum Contributor
    Join Date
    09-10-2012
    Location
    Los Angeles, CA
    MS-Off Ver
    Excel 2010
    Posts
    929

    Re: Trying to make multiple dependent drop down list with dynamic ranges

    check this out from the Winner Board...

    http://www.exceltip.com/show_tip/Exc...m)_/30065.html

+ 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