+ Reply to Thread
Results 1 to 3 of 3

Dynamic dependent data validation lists

  1. #1
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Dynamic dependent data validation lists

    Hi

    I thought I knew Excel fairly well until I came on here, and I've been able to help a few people since I became a member, but I have learnt so much more than I have taught, so thanks.

    Now I have an issue I'm hoping you can help with. I was going to post a reply to this post http://www.excelforum.com/excel-form...down-menu.html and tell the OP he could use a dynamic named range since he said
    the list is almost 200 cells long and growing
    The problem is that when I tried to test it, it didn't work. I created the dynamic named range with the following formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    When I referenced the result from the first drop down list with
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    it came up with an error saying The Source currently evaluates to an error. Do you want to continue?

    I have attached the file I created, so any insights or assistance would be gratefully appreciated.
    Dynamic Dependent Ranges.xlsx

    Drop down lists should be in A1 and A2

    gak67

  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: Dynamic dependent data validation lists

    'Dynamic Cascading Dependent Drop Boxes
    Typically Dynamic Named Ranges and Cascading Dependent Drop Down boxes using INDIRECT() references to prior DV cells simply does not work. You can do one or the other, but not both. Here is a technique for creating cascading dependent drop boxes where the secondary lists ARE created dynamically, compatible with Excel 2003+.
    Dynamic Cascading Data Validation


    There is a sample workbook showing it in action on that page.

    I've implemented the technique into your sample.
    Attached Files Attached Files
    Last edited by JBeaucaire; 12-27-2019 at 03:47 AM.
    _________________
    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
    Valued Forum Contributor
    Join Date
    04-22-2014
    Location
    Auckland, New Zealand
    MS-Off Ver
    Office 365 (work) and Excel 2013 (home)
    Posts
    1,167

    Re: Dynamic dependent data validation lists

    Awesome. Thank you. I knew that if it was possible, somebody here would know how to do it. Reputation added.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Dynamic Validation Lists using Formula. Dependent and Independent
    By jrvstl in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-27-2012, 02:24 AM
  2. Help with Dynamic Dependent Validation lists
    By oo0tommyk0oo in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-21-2010, 05:12 PM
  3. Dynamic/dependent data validation lists - reset second cell if first cell changed
    By gazza365 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-16-2010, 06:59 PM
  4. Data Validation - dependent lists
    By freemind in forum Excel General
    Replies: 2
    Last Post: 03-16-2007, 04:43 AM
  5. Data map (three dependent validation lists)
    By cpurvis in forum Excel General
    Replies: 3
    Last Post: 12-11-2006, 03:16 AM

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