+ Reply to Thread
Results 1 to 6 of 6

Multi Level Dependent Drop Down Lists

  1. #1
    Forum Contributor
    Join Date
    08-13-2009
    Location
    Caribbean
    MS-Off Ver
    Excel 2003
    Posts
    129

    Multi Level Dependent Drop Down Lists

    Hello All,

    Got another a pretty straightforward yet tricky issue on my hands here.

    Background:

    We are developing a new chart of accounts. However, we need to put control over the users ability to input the account number itself. As such, it has been decided to create a drop down list for the user to select to which account to post.

    The multi level dependent drop down list will have 7 levels. Once a user selects 1/16 options from the first "Main Code" section, the options available on the next level "Detail Code" should be restricted to only what is applicable to the first selection. Once the user goes through the first two levels, the options available on the third level should again be restricted and so on.

    I have attached a sample spreadsheet. The interdependencies have been colored coded as best as possible to show the related options. Please note that for the last 3 levels "LOB Code", "Island Code", and "Department Code" all options should be available regardless of what has been selected in other lists. The items under "company/Project Code" that have two colors means that they can be allocated to either the red or the green section, i.e. "Bank and Finance Charges" & "Marketing" under the "main Code"

    In Summation:

    7 level dependent drop down list.

    Each level has its own section for the user to select an item.

    My approach thus far:

    Create named ranges and use the indirect formula. But this is giving me a bit of difficulty. Just wondering if there is a better way or if someone could help give some insight.

    Thanks!
    Attached Files Attached Files
    Last edited by mysticmoron109; 11-03-2015 at 03:06 PM.

  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
    52,926

    Re: Multi Level Dependent Drop Down Lists

    I have not looked at your filer, but dependent DD's are relatively simple to put together. However, they become exponentially more involved, the more levels you have.

    My version is based on having range names for each category, and then more range names for each sub-category...and then for each sub-sub category. INDIRECT is then used to reference the level-above-selection, to pick out "this" level's item

    See the attached, is uses this principal for 3 levels
    Attached Files Attached Files
    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 Contributor
    Join Date
    08-13-2009
    Location
    Caribbean
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: Multi Level Dependent Drop Down Lists

    Also, how do I remove attachments that I have uploaded? This one has a bit of info Id like to amend, nothing serious but still...

    And thanks fo ryour response will give it a look in a min!

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

    Re: Multi Level Dependent Drop Down Lists

    To remove attachments, Edit>Go Advanced>Manage Attachments and click on the "X" to remove the attachment. Then you can re-upload.

    Are you sure you want 7 layers of lists? If each list only has 4 items, that totals 21,844 unique items. I think the only way to do this is with a lot of manual work setting up the individual lists.
    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
    Forum Contributor
    Join Date
    08-13-2009
    Location
    Caribbean
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: Multi Level Dependent Drop Down Lists

    thanks, changed out the attachment, and yes, 7 levels are required and that is currently what im doing... going through and making named ranges and concatenations so that I can create the unique names for the range.

    pain in the butt but it is working. just wondering if there was a better solution.

    Also, something else ive noticed is that if I change the selection in any one of the fields it does not automatically update (or remove if the case may be) the other dependent fields. which is a bit of a control issue as there could still be errors where a person selects an variable, then goes to the next level and makes the dependent selection, but then goes back to the first level and changes it so that the second level is now irrelevant.

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

    Re: Multi Level Dependent Drop Down Lists

    In order to do that, you will need to use VBA, something like this in the worksheet module
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. Dependent drop down lists without creating unique named lists
    By pajordan in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-11-2013, 12:20 PM
  2. Multi level dependantly linked drop down boxes
    By MattHutchings in forum Excel General
    Replies: 3
    Last Post: 08-10-2012, 09:57 PM
  3. Multi Level Dependent Drop-down list, Explanation required
    By Shoieb.arshad in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-31-2012, 11:36 AM
  4. Mulitple Level Dependent Lists.
    By excelkeechak in forum Excel General
    Replies: 8
    Last Post: 04-12-2011, 04:18 AM
  5. Multi-level Data Validation with Lists
    By saschagraef in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 12-16-2010, 08:49 AM
  6. Drop Down Issue - multi level filter
    By burblecut in forum Excel General
    Replies: 3
    Last Post: 08-19-2010, 04:54 PM
  7. Excel 2007 : multi level dependent list
    By MWinder in forum Excel General
    Replies: 3
    Last Post: 05-12-2010, 11:31 AM
  8. Multi-level dependent lists
    By aussiemate in forum Excel General
    Replies: 6
    Last Post: 02-25-2010, 04:02 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