+ Reply to Thread
Results 1 to 12 of 12

having a 2nd and 3rd cascading dropdown list off a first dropdown

  1. #1
    Registered User
    Join Date
    11-16-2019
    Location
    seattle
    MS-Off Ver
    365 pro plus
    Posts
    15

    having a 2nd and 3rd cascading dropdown list off a first dropdown

    so, i created a dropdown list, then using the =INDIRECT function and named cells i created a dependent drop down from the first, works great! but now i want a third dropdown list off the first dropdown list. but when i try, excel just asks if i want to change the named cells.

    I have created a mock up (attached)

    the green list is fine and works as intended

    the pale blue list should also work off the first but when i enter =indirect it just automatically uses the green list
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    If you want another set of DD's to be based of level 2, you will need to create separate names for each lvl 2.

    I called C2:C5 Dogs_color and C13:C15 Dogs_Len

    Then my G3 DV rule was
    =INDIRECT($G$2&"_color")
    and G4 rule was
    =INDIRECT($G$2&"_len")
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,605

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    You might also find help at https://www.contextures.com/exceldependentdropdown.html

  4. #4
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    Three named ranges created.
    dogsexn
    catsexn
    miceexn

    Formula for DV in B4 is
    =INDIRECT($B$2&"exn")
    Attached Files Attached Files
    Pl note
    Array formula should be confirmed with Ctrl+Shift+Enter keys together.
    If answere is satisfactory press * to add reputation.

  5. #5
    Registered User
    Join Date
    11-16-2019
    Location
    seattle
    MS-Off Ver
    365 pro plus
    Posts
    15

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    I'm not sure what you mean by level 2. To me, there is just the initial drop down list (dogs, cats, mice) then the two drop down lists (color, and length) based on that initial list. It should work that you pick the type of animal (DD in B2) and you then get a color list (DD in B3) and a length list (DD in B4).

    I'm sorry but i don't understand your answer.

    I'm sure it is in how i asked the question.

    i hope this clarified

  6. #6
    Registered User
    Join Date
    11-16-2019
    Location
    seattle
    MS-Off Ver
    365 pro plus
    Posts
    15

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    I see what you did but I cannot understand how it works, but it defiantly does work.

    Full disclosure, the example I gave is not what I am actually doing, i figured it was easier than sending the whole overly complex multi sheet spread sheet.

    I copied what you did by naming the columns the same and just adding 'exn' to the end of what would be the third drop down then entered this exact formula. =INDIRECT($H$39&"exn")

    but the third dropdown is not working (the carrot is there but nothing happens when i press it).

    I'm pulling my hair out because I don't know what I did wrong!!! i still don't know how the spread sheet can find the "&"---"" indirect to begin with.

  7. #7
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    Pl upload file.
    Pl confirm that three named ranges created.
    dogsexn
    catsexn
    miceexn
    Last edited by kvsrinivasamurthy; 02-07-2021 at 01:11 AM.

  8. #8
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    Apologies, I moved your DV cells so I could see what I was doing - hence the strange cell refs.

    Attached is your file with my suggested modifications
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    11-16-2019
    Location
    seattle
    MS-Off Ver
    365 pro plus
    Posts
    15

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    OK, so i don't know what I'm doing wrong.

    so here's the full file. I apologize in advance for all the extra stuff in there but the only cells you need concern yourself with are:

    H39 on the 'PrimaryClass' tab. this is the initial dropdown. V : 4 to 8 on the 'guts' tab. this is the source of the initial dropdown
    H40 on the 'PrimaryClass' tab. this is the 1st dependent dropdown Z to AD : 4 to 7 on the 'guts' tab. this is the source of the 1st dependent dropdown
    H41 on the 'PrimaryClass' tab. this is the 2nd dependent dropdown Z to AD : 9 to 12 on the 'guts' tab. this is the source of the 2nd dependent dropdown
    Attached Files Attached Files

  10. #10
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    Pl see file.
    In the file name of ranges and the selection and formula for DV was not matching. I have created 8 ranges given below. Formula for DVV also changed. It is working ok.
    8 names are given below.

    Spells, Scrolls, Swords, Generalist, Field,

    SpellsF, ScrollsF, SwordsF, GeneralistF, FieldF

    Previously created ranges by you are to be removed.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 02-08-2021 at 02:28 AM.

  11. #11
    Registered User
    Join Date
    11-16-2019
    Location
    seattle
    MS-Off Ver
    365 pro plus
    Posts
    15

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    sorry, kvsrinivasamurthy I messed up the rep you earned. while i was editing the note I accidentally hit send.

    what I meant to say was:

    You were exceptionally patient, extraordinarily knowledgeable, and and infinitely helpful. I would like to thank you from the bottom of my heart. It works!

    sorry I messed it up.

  12. #12
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: having a 2nd and 3rd cascading dropdown list off a first dropdown

    No problem. If your problem is solved it is good. Please mark the thread solved.

+ 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] Dropdown box cascading selections
    By Roadrun030 in forum Excel General
    Replies: 2
    Last Post: 10-01-2019, 09:58 AM
  2. vba cascading dropdown list with free text entry option
    By DerrickKhan in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-10-2017, 01:13 PM
  3. [SOLVED] Dynamic cascading dependent dropdown list
    By kevivu in forum Excel General
    Replies: 4
    Last Post: 03-26-2016, 12:24 PM
  4. Cascading Dropdown for A Calendar
    By pspunlimited in forum Excel General
    Replies: 17
    Last Post: 02-05-2015, 03:44 AM
  5. [SOLVED] Cascading dropdown lists all tied to first dropdown
    By ruthl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-18-2012, 08:03 PM
  6. Replies: 21
    Last Post: 12-02-2009, 03:27 PM
  7. Cascading dropdown list with dynamic ranges
    By devunow in forum Excel General
    Replies: 3
    Last Post: 11-04-2008, 09:56 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