+ Reply to Thread
Results 1 to 13 of 13

How to create third dependent dropdown list?

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2010
    Posts
    6

    How to create third dependent dropdown list?

    I hope someone can help me.
    From the attached table, I've created dropdown list for "Barangay" & "Town_City".
    The other column will auto fill upon selection of Barangay & Town_City.
    But, I really want to create for that is.....
    1) Three Dropdwon list in three columns (Barangay, Town_City and Province) with dependent validation lists.
    - If I select one Barangay, Town_City will only list related lists of selected Barangay. Also Province list will show relate province of selected Town_City.
    You can see my excel file. I created two dropdown lists. But I've problem to create third dropdown list for Province.
    2) I want dropdown list with single value list. What I mean is I don't want to list "multiple values" (eg. two or three same name of Barangay/Town_City are listed in my excle file).
    You can see there are many same name in different columnes. I don't know how to control in list item for single value.
    3) The last thing is if I delete or reselect "Barangay", I want automatically delete other selected value from "Town_City" and "Province".

    The attached is my excel file.

    DataTemplate.xlsx
    Last edited by kyawzw; 11-23-2012 at 03:57 AM.

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to create third dependent dropdown list?

    Maybe this will do it. There is a sample file for download.

    http://www.contextures.com/xlDataVal15.html
    HTH
    Regards, Jeff

  3. #3
    Registered User
    Join Date
    11-02-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to create third dependent dropdown list?

    Thanks for your advice.

    But that example is not the one what I need for. In my case, when I create thousands of Barangy or Town_City as in individual column is really complicated and time consuming with unexpected errors. And also from their example cannot control duplicate values for each column. (eg. Barangay or Town_City are same name in different Province or Region).

    Could you please let me know for the other comments or suggestions.

  4. #4
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to create third dependent dropdown list?

    I don't fully see what the exact problem is. Can you give a couple of specific examples of what you don't want to happen and/or what works good?

  5. #5
    Registered User
    Join Date
    11-02-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to create third dependent dropdown list?

    From my table, when you select "Poblacion" from "Barangay" dropdown list, "Town_City" dropdown list shows four list values, two times each for "San Juan" and "San Luis". But I want to control for the list, which will show only one time of "San Juan" and "San Luis".
    I also want to create and control values for Province column dropdown list, which is based on Town_City selection. What I mean is, if I select "San Juan" from Town_City dropdown list, "Province" dropdownlist will shows "Batangas" and "Siquijor" in their list.

    Thanks

  6. #6
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: How to create third dependent dropdown list?

    Sorry but I do not have a solution for this. Maybe somebody else will have the solution.

  7. #7
    Registered User
    Join Date
    11-02-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to create third dependent dropdown list?

    Anyhow, thank you for your response Jeff.........

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

    Re: How to create third dependent dropdown list?

    the DV formula in B2 should be:

    =OFFSET(Barangaystart, MATCH($A2, Barangay, 0)-1,1,COUNTIF(Barangay,$A2),)
    _________________
    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!)

  9. #9
    Registered User
    Join Date
    11-02-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to create third dependent dropdown list?

    Thanks...

    Can someone solve duplicate list problem?

  10. #10
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: How to create third dependent dropdown list?

    that's really a subject for another thread, or a search of the forum, as I'm sure its been discussed several times
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

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

    Re: How to create third dependent dropdown list?

    If you want a list with no dupes, that list has to exist. I would copy the first two columns (Barangay and Town) list to another location using Advanced Fitler > Unique Values to eliminate the dupes, and name that new Barangay column BarangayShortList, now the same technique as above works.

    =OFFSET(BarangayShortList, MATCH($A2, BarangayShortList, 0)-1,1,COUNTIF(BarangayShortList,$A2),)

  12. #12
    Registered User
    Join Date
    11-02-2012
    Location
    manila, philippines
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: How to create third dependent dropdown list?

    Thanks JB........
    It works well.

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

    Re: How to create third dependent dropdown list?

    I have marked this thread solved for you.
    In the future please select Thread Tools from the menu above and mark the thread as solved. Thanks.

+ 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