+ Reply to Thread
Results 1 to 11 of 11

Data Validation & Two selections from Two unique cells populating a third list

  1. #1
    Registered User
    Join Date
    01-11-2014
    Location
    TX
    MS-Off Ver
    Excel 2007
    Posts
    21

    Data Validation & Two selections from Two unique cells populating a third list

    What I have is a a pretty long data validation list for selection, in which one cell's DV list is populated by another. Simple stuff. Well, I'd like to have that one cell (J5) have its data validation list populated by the result of two selected values (and have duplicates removed).

    The formula I currently have for J5 is
    =OFFSET(Class_List!$D$1,MATCH(J2,Class_List!$D:$D,0)-1,1,COUNTIF(Class_List!$D:$D,J2),1)

    And can be seen here, as only options from J2 are included in the list.
    0c7e6eeaf3.png


    So I'd like to make a selection in J2 and J4, then have my J5 list include all (sans duplicates) of the yellow entries in the 2nd screenshot. Have I approached this in the wrong manner?
    3011ffb60b.png

    8e8dc9ee43.png


    *Edit* Here's my doc FE13 LAMS V_1_4.xlsm
    Last edited by Elieson; 07-02-2015 at 04:38 PM. Reason: added File

  2. #2
    Forum Contributor stephenloky's Avatar
    Join Date
    07-10-2013
    Location
    Sao Paulo - Brazil
    MS-Off Ver
    Excel 2007
    Posts
    146

    Re: Data Validation & Two selections from Two unique cells populating a third list

    Hey, I've made a similar question....
    http://www.excelforum.com/excel-prog...-criteria.html
    see if you can adapt for you!
    Tell me if you know how to do macros as well...I can do that with macros.
    "The quieter you become, the more you are able to hear"

    Any reputation (*) points appreciated.

    "If you know yourself but not the enemy, for every victory gained, you will suffer defeat."

  3. #3
    Registered User
    Join Date
    01-11-2014
    Location
    TX
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Data Validation & Two selections from Two unique cells populating a third list

    I'm pretty green when it comes to Macros, unfortunately. I'm ok with adding a Macro, I just haven't got a clue how to work with something like this with a Macro.

    Also, what you already have is pretty similar to where I'm at right now (I think).

  4. #4
    Forum Contributor stephenloky's Avatar
    Join Date
    07-10-2013
    Location
    Sao Paulo - Brazil
    MS-Off Ver
    Excel 2007
    Posts
    146

    Re: Data Validation & Two selections from Two unique cells populating a third list

    Ok, take a look on the post. It's a formula based solution.

  5. #5
    Registered User
    Join Date
    01-11-2014
    Location
    TX
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Data Validation & Two selections from Two unique cells populating a third list

    My sheet already does that, with calls to other sheets rather than just columns in the same sheet.
    Attached Files Attached Files

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Data Validation & Two selections from Two unique cells populating a third list

    I created a separate list that is created from column E of Class_List by the choices in Battling_Teams!J2 and Battling_Teams!J4 on Class_List!$u$2:$u$100. I copied the values of J2 and J4 to Class_List!T2 and T3 and used this array formula to create a dynamic list.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The Data Validation formula for Battling_Teams!J5 is:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by newdoverman; 07-02-2015 at 07:54 PM.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  7. #7
    Registered User
    Join Date
    01-11-2014
    Location
    TX
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Data Validation & Two selections from Two unique cells populating a third list

    Wow, that works fantastically

    Is there a way to enhance upon what you have, by preventing duplicates from appearing on the list on Battling_Teams, without turning this into a cascading list?

    d39d8a4827.png 3b4424368f.png

  8. #8
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Data Validation & Two selections from Two unique cells populating a third list

    I used another column (V) on Class_List to eliminate the duplicates that showed up with your testing of the data. This creates the same kind of listing as before but without the duplicates. It is completely determined by the first two choices in Battling_Teams! column J.
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    01-11-2014
    Location
    TX
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Data Validation & Two selections from Two unique cells populating a third list

    So simple!

    Any way I can mark this as resolved? That's exactly what I was trying to do

  10. #10
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Data Validation & Two selections from Two unique cells populating a third list

    Thank you for the feedback.

    Instructions for marking SOLVED:

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

    The thread tools are just above your first message.

  11. #11
    Registered User
    Join Date
    01-11-2014
    Location
    TX
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: Data Validation & Two selections from Two unique cells populating a third list

    Gotchya. I checked in there and completely overlooked the final option

+ 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. Multiple selections from data validation list
    By astasinim in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-13-2015, 11:20 AM
  2. Validation of 3 Unique Random selections
    By BrianCob in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2014, 03:17 AM
  3. [SOLVED] Based on two cells data validation list should be populated in third cell with unique vals
    By anchuri_chaitanya in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-13-2014, 03:21 PM
  4. [SOLVED] Data validation list - country names are selections but 2 digit codes need to be result
    By Grilleman in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-07-2014, 11:28 AM
  5. Multiple selections from a pick list - only unique selections (no repeats) ?
    By opsayo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-24-2011, 06:25 PM

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