+ Reply to Thread
Results 1 to 3 of 3

How can I create dependent & dynamic DropDown lists that start with a certain string?

  1. #1
    Registered User
    Join Date
    09-16-2016
    Location
    La Paz
    MS-Off Ver
    2016
    Posts
    2

    Question How can I create dependent & dynamic DropDown lists that start with a certain string?

    Hello,

    Before I start describing the problem, please note that I have posted this same question on another forum, here is the link:
    http://www.mrexcel.com/forum/excel-q...ml#post4634209



    I would like to create 3 levels of dependent & dynamic DropDownlists (Data Validation lists) based on the following ranges:

    DropDownList Levels-Ranges.png


    The 3 ranges are created as: Level_1, Level_2, Level_3.

    - DropDown list 1 must display items from range Level_1.
    - DropDown list 2 must display FILTERED items from range Level_2. Example: if "1.ACTIVE" is selected on DropDownList 1 then the available items on DropDown 2 should only be: "1.1.ACTIVE CURRENT" and "1.2.ACTIVE NON CURRENT". The formula for the Data validation on DropDown 2 should filter the Level_2 range by the first 2 chars selected on DropDown1, in this case it should return a list of items that start with "1.", which are items 1.1. and 1.2.
    - DropDown list 3 must display FILTERED items from range Level_3. Example: if "2.1. PASSIVE CURRENT" is selected on DropDownList 2 then the available items on DropDown 3 should only be: "2.1.1..." and "2.1.2. ...". The formula for the Data validation on DropDown 3 should filter the Level_3 range by the first 4 chars selected on DropDown2, in this case it should return a list of items that start with "2.1.", which are items 2.1.1. and 2.1.2.

    I have tried with several OFFSET formulas and some worked, but unfortunately the OFFSET formula on the DropDowns stops working when you close and re-open the excel file. That's why I'm asking for your help, perhaps there is another way to achieve this?

    Your help will be greatly appreciated.

    Mc
    Last edited by mcclausky; 09-17-2016 at 10:41 AM.

  2. #2
    Forum Expert mike7952's Avatar
    Join Date
    12-17-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007, Excel 2016
    Posts
    3,519

    Re: How can I create dependent & dynamic DropDown lists that start with a certain string?

    Something Like this? See formulas in data validation.
    Attached Files Attached Files
    Thanks,
    Mike

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.

  3. #3
    Registered User
    Join Date
    09-16-2016
    Location
    La Paz
    MS-Off Ver
    2016
    Posts
    2

    Re: How can I create dependent & dynamic DropDown lists that start with a certain string?

    Quote Originally Posted by mike7952 View Post
    Something Like this? See formulas in data validation.
    Mike, you are great!
    Your solution worked perfectly. My previous solution was somehow similar but a bug in excel prevented it to work after re opening the file. It was something like this.
    =OFFSET(INDEX( level_2_items, 1), MATCH(LEFT(F2,2), LEFT(level_2_items, 2), 0)-1, 0, SUMPRODUCT(--(LEFT(level_2_items,2)=LEFT(F2, 2) )),1)

    Anyway, thank you so so much!!!

+ 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. Dynamic Dependent Dropdown Lists that populate based on matching rows within table
    By macdonaldtomw in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-14-2015, 05:44 AM
  2. [SOLVED] Dependent dropdown lists
    By ibenegal in forum Excel General
    Replies: 6
    Last Post: 01-07-2015, 10:00 AM
  3. Problem with Dependent Dropdown Lists Being DYNAMIC
    By b624333 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-20-2014, 04:50 PM
  4. [SOLVED] Dependent dropdown validation - dependent data is string
    By jnewby in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-12-2014, 07:50 PM
  5. How do I create dynamic dropdown lists...
    By Technical_13 in forum Excel General
    Replies: 2
    Last Post: 01-06-2013, 06:45 PM
  6. Excel 2007 : Dependent DropDown lists
    By Harrison in forum Excel General
    Replies: 2
    Last Post: 07-12-2010, 06:32 PM
  7. Dependent dropdown lists
    By Axel in forum Excel General
    Replies: 1
    Last Post: 05-18-2006, 11:35 AM

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