+ Reply to Thread
Results 1 to 8 of 8

Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List

  1. #1
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List

    I had a hard time coming up with a "simple" example of the type of filtering I want to do, but here it is.

    The cells/table column/validation I am having a hard time with is the "location" in the 3rd table. I want the location to be limited by the choice of "owner" in the same table.

    ie UoW should only show the Main Campus, Offsite West City Campus, Datacenter 1, Agricultural Research, and Testing Facilities in the dropdown. The difficulty is the fact that the list of locations is unsorted.

    Also - not sure if it matters but the tables are on separate sheets in my real workbook.

    Any ideas?

    Thanks in advance!
    Attached Files Attached Files
    Last edited by justforthis1; 03-15-2013 at 06:54 PM. Reason: Just tweaked the xlsx (no practical change)

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List

    These might help..

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

    http://www.contextures.com/xlDataVal13.html

    http://www.pcreview.co.uk/forums/mul...-t3974290.html
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    Re: Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List

    Thanks for the reply. I have checked out those links (along with others) and the issue is they all require you to have named tables - where as I have an unsorted list... any other ideas?

    Thanks again.

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

    Re: Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List

    PL see the attached file. It is validated for Location.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    Re: Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List

    Quote Originally Posted by kvsrinivasamurthy View Post
    PL see the attached file. It is validated for Location.
    I have been playing with this - and it looks promising - but the range doesn't update...the same choices are available regardless of what you choose for the owner. Any ideas of why it isn't updating as per the first choice?

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

    Re: Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List

    For which owner which list you want. Explain with full answer you expect with attachment.

  7. #7
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    Re: Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List

    I am not sure that it is possible - I want to choose an item from the first drop down and then have that choice impact what is available in the next drop down. However the content is a non sorted list of values so filtering what is available seems to be impossible? using just formulas... I am going to try to pursue a VBA solution at this time - I will update this thread if I figure it out.

    If you can figure out how to do it that would be great as well.

  8. #8
    Registered User
    Join Date
    05-19-2009
    Location
    California
    MS-Off Ver
    Excel 2013-16
    Posts
    55

    Re: Data Validation List - Dependent on Adjacent Cell - Value from Unsorted List

    In the event that anyone looks at this thread again...

    I ended up making a userform and VBA to achieve my goal.

    The following runs on a "change" value for a combo box.

    Please Login or Register  to view this content.
    I am not a pro so I cannot guarantee this is the best code to use - but it does work.

    Thanks for the help.
    Last edited by justforthis1; 03-26-2013 at 12:25 PM. Reason: additional note

+ 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