+ Reply to Thread
Results 1 to 7 of 7

Using first drop down list to consolidate data in second drop down list

  1. #1
    Registered User
    Join Date
    10-22-2011
    Location
    Maryland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Using first drop down list to consolidate data in second drop down list

    Wasn't sure how to title this, but I've scoured the internet without any success finding exactly what I need to accomplish here. This is what I'm trying to do:

    In a data tab, I have a column with a list of various plan names. The adjacent column classifies the plans into either complete (C), start (S), or finish (F). On the user interface tab, I want to require the user to select a plan in a pulldown list and it can be any plan in the list. If that plan is classifed as "complete" or "finish", the secondary pulldown list next to it is blank/greyed out/not applicable. But if they select a start plan in the first pulldown list, the secondary pulldown list should only display a list of appropriate finish plans.

    Originally I only had a single drop down list and I've been using an OFFSET function in data validation to dynamically provide the list of plans. I need to maintain this method (not a pre-defined range) such that I can add or remove plans in the data tab at any given time without affecting the functionality of the user interface tab in my spreadsheet.

  2. #2
    Forum Contributor
    Join Date
    05-14-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    187

    Re: Using first drop down list to consolidate data in second drop down list

    Hi

    Please upload a sample workbook if possible that would be better.
    you will have to create all scenarios and name them
    Also try using INDIRECT Function that might help.

    Regards,

    Veejar

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

    Re: Using first drop down list to consolidate data in second drop down list

    Yes, a sample workbook with some manually mocked up examples of the results you're after would be helpful.

    @Veejar: Kyler has already indicated they are using dynamic named ranges (OFFSET) to create a self-expanding list for the drop down. INDIRECT() and dynamic name ranges do not work together. FYI.
    _________________
    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!)

  4. #4
    Forum Contributor
    Join Date
    05-14-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    187

    Re: Using first drop down list to consolidate data in second drop down list

    Quote Originally Posted by JBeaucaire View Post
    Yes, a sample workbook with some manually mocked up examples of the results you're after would be helpful.

    @Veejar: Kyler has already indicated they are using dynamic named ranges (OFFSET) to create a self-expanding list for the drop down. INDIRECT() and dynamic name ranges do not work together. FYI.
    Hi Jerry,

    I do agree with you but from what Kyler has described I am not so sure whether they have actually named all ranges. Guess if we do get a sample worbook it might be quicker to figure out the problem

  5. #5
    Registered User
    Join Date
    10-22-2011
    Location
    Maryland
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Using first drop down list to consolidate data in second drop down list

    Wow! Quick response. Attached is a sample of what I'm trying to do. I put the desired conditions in the TopSheet tab with the referenced data in the Data tab. Thanks in advance!

    Edit: And just for some background info, I currently have both drop down list cells using the dynamic range with OFFSET. The data as you see it in the Data tab is a sample of how I retrieve it so I'd like to make it work around this format. I know there's some Data Validation methods but that requires subgrouping data which reduces the automation of the workbook.
    Attached Files Attached Files
    Last edited by kyler13; 10-22-2011 at 05:26 PM.

  6. #6
    Forum Contributor
    Join Date
    05-14-2010
    Location
    Mumbai, India
    MS-Off Ver
    Excel 2007
    Posts
    187

    Re: Using first drop down list to consolidate data in second drop down list

    Hi

    See the attached sheet and let me know if it works for you

    Regards,

    Veejar
    Attached Files Attached Files

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

    Re: Using first drop down list to consolidate data in second drop down list

    Using just a "sorted list" on the data sheet, this is how I do it. We've added some more named ranges, and one Named Formula (Plans2) for use in the second drop down.
    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)

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