+ Reply to Thread
Results 1 to 15 of 15

Creating drop down with MATCH and dependent cells

  1. #1
    Registered User
    Join Date
    08-17-2018
    Location
    Asmara, Eritrea
    MS-Off Ver
    2016
    Posts
    8

    Creating drop down with MATCH and dependent cells

    I have 4 admin levels. I have a sheet with all the data of admin levels. I wanted to create the drop down menu in a different sheet so that the drop down is generated on the basis of the selection of different admin levels. E.g. on selection of the first admin level, the list of admin two should be generated in the second column and on the basis of the selection of the 2nd column, the list should generate on the third and so on on the fourth. Also, some names are repeated in different admin levels, so the selection of dependent cells should match all the selected items. how do I achieve this? Your support is highly appreciated.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Creating drop down with MATCH and dependent cells

    Go through the below links:-

    https://www.contextures.com/xlDataVal02.html

    https://www.contextures.com/exceldat...sindirect.html


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    08-17-2018
    Location
    Asmara, Eritrea
    MS-Off Ver
    2016
    Posts
    8

    Re: Creating drop down with MATCH and dependent cells

    Thank you brother, I have gone through these videos and other videos on YouTube as well but ended up with no luck. If you could help, I can send you the file. I have successfully created the dropdown till the third admin level. I got stuck on the fourth one. Kindly send your email so that I can forward the file.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Creating drop down with MATCH and dependent cells

    Attach a sample workbook. Make sure there is just enough data to make it clear what is needed. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are demonstrated, mock them up manually if needed. Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  5. #5
    Registered User
    Join Date
    08-17-2018
    Location
    Asmara, Eritrea
    MS-Off Ver
    2016
    Posts
    8

    Re: Creating drop down with MATCH and dependent cells

    I was unable to upload the file here. So I uploaded it in the google drive. Please find it below. The first three columns are fine, on the fourth column i want the villages list to
    be displayed in the drop down on the basis of the selection of first three cells. Please note that some names in column 3 are repeated in different sub zones, so the function should match
    all the three cell's value and return the value.

    drive.google.com/file/d/1793-nlBjETUWzqVHo25vlW-ELdFJ1GBI/view?usp=sharing

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

    Re: Creating drop down with MATCH and dependent cells

    Helper column L is used for village drop down list.
    ARRAY formula in L2 then drag down
    Please Login or Register  to view this content.
    Formula for validation in D2
    Please Login or Register  to view this content.
    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.

  7. #7
    Registered User
    Join Date
    08-17-2018
    Location
    Asmara, Eritrea
    MS-Off Ver
    2016
    Posts
    8

    Re: Creating drop down with MATCH and dependent cells

    Thank you for the support. This helped a lot, just small help more, I see when you extend the by dragging the bottom corner of the last column so that the same formula is copied to other rows,
    the drop down menu disappears in the village column. For your reference, find the file: drive.google.com/file/d/1SVw2mU7Y-MkutlcKHewkqwU_XEOc_o9G/view?usp=sharing

    Thank you!

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

    Re: Creating drop down with MATCH and dependent cells

    ARRAY Formula modified
    Please Login or Register  to view this content.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    08-17-2018
    Location
    Asmara, Eritrea
    MS-Off Ver
    2016
    Posts
    8

    Re: Creating drop down with MATCH and dependent cells

    The rows below displays the same list as in 2nd row. Even without making any selection in 1,2 and 3 columns. Also the dropdown menu does not display in the rows below. in the 3rd row it is displaying the wrong drop down menu, and rows below it does not display any list. Please help.

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

    Re: Creating drop down with MATCH and dependent cells

    Pl see File . If any problem is there upload sample file shwing the problem.
    For validation inD2
    Please Login or Register  to view this content.
    ARRAY formula in L2 Then dragged across.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 08-21-2018 at 10:54 AM.

  11. #11
    Registered User
    Join Date
    08-17-2018
    Location
    Asmara, Eritrea
    MS-Off Ver
    2016
    Posts
    8

    Re: Creating drop down with MATCH and dependent cells

    Plese findit here, with comments: drive.google.com/file/d/1-2q0UFOXCf8ZfflenKSpKmE0opLSAb8B/view?usp=sharing

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

    Re: Creating drop down with MATCH and dependent cells

    Pl see my previous post . I have edited it.

  13. #13
    Registered User
    Join Date
    08-17-2018
    Location
    Asmara, Eritrea
    MS-Off Ver
    2016
    Posts
    8

    Re: Creating drop down with MATCH and dependent cells

    But, is it necessary to create the Village validation List for each new rows created? As you have created the List1 to list 19? Again moving beyond this, does it need to be created since I will have around 1000 rows. Isn't it possible with only one list created earlier?
    Last edited by Bipin Jha; 08-22-2018 at 07:47 AM.

  14. #14
    Registered User
    Join Date
    08-17-2018
    Location
    Asmara, Eritrea
    MS-Off Ver
    2016
    Posts
    8

    Re: Creating drop down with MATCH and dependent cells

    Could you please provide response to this, so that I can proceed ahead?

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

    Re: Creating drop down with MATCH and dependent cells

    Worksheet_SelectionChange event is used.Code is below.
    Range is D2:D20, can be changed.
    When the cell say D5 is selected cell is validated for list Depending on A, B, C cell values.
    Worksheet cells are not used.
    Please Login or Register  to view this content.
    To paste the code.
    Right click on the DATA sheet tab -->view code
    VB widow opens
    Paste the code
    Close the window.
    Attached Files Attached Files
    Last edited by kvsrinivasamurthy; 08-22-2018 at 11:10 AM.

+ 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. Creating Dependent Drop Down Menus to Bring Up Data
    By Luken10 in forum Excel General
    Replies: 4
    Last Post: 02-20-2017, 02:41 PM
  2. Creating Dependent Drop Down Lists
    By KB2015 in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 11-06-2015, 01:20 PM
  3. Replies: 2
    Last Post: 09-07-2013, 03:55 AM
  4. [SOLVED] Creating cells dependent on a drop-down list
    By FraserP in forum Excel General
    Replies: 3
    Last Post: 05-11-2012, 01:47 PM
  5. Creating dependent drop downs
    By harrybelly in forum Excel General
    Replies: 2
    Last Post: 12-08-2011, 05:08 PM
  6. VBA code for creating dependent drop down list
    By singhabhijitkumar in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-26-2010, 08:25 AM
  7. Creating dependent drop-down menus
    By ajxxx in forum Excel General
    Replies: 1
    Last Post: 11-18-2008, 12: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