+ Reply to Thread
Results 1 to 11 of 11

Index-Match Data Validation List

  1. #1
    Registered User
    Join Date
    08-20-2013
    Location
    Eau Claire, Wi
    MS-Off Ver
    Excel 2010
    Posts
    6

    Index-Match Data Validation List

    Hello.

    I'm attempting to pull data (from another sheet) into a cell with a drop down list.
    I've managed to successfully get Index-Match to return the first option, but I have struggled getting multiple values.

    Sheet1, labeled 'Cover', has Cells C16 and D16 that I want for drop-downs with options.
    Sheet2, labeled 'DTB', has several columns of data. Column A has category "Type" Column B has Category "Name"
    There are only 12 different types, but there are multiples of each type.
    I put a data validation list in C16 with each of the types of category, as an indirect list (but if this is not needed, I don't mind cutting it).
    I want to have D16 return a dynamic list of the names of the selected type in C16.

    My goal is to have a vlookup function pull the correlating data after the "Name" is populated.


    I currently have this in my data validation source box:
    Please Login or Register  to view this content.
    It returns only the first value.
    If I can, I'd like to avoid VBA

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Index-Match Data Validation List

    See here:
    http://www.excelforum.com/excel-form...82#post3374382
    Otherwise post your workbook
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Registered User
    Join Date
    08-20-2013
    Location
    Eau Claire, Wi
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index-Match Data Validation List

    See attached.

    D17 in Roster provides a single drop down item, where there should be 4.
    Attached Files Attached Files

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

    Re: Index-Match Data Validation List

    Life's a spreadsheet, Excel!
    Say thanks, Click *

  5. #5
    Registered User
    Join Date
    08-20-2013
    Location
    Eau Claire, Wi
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index-Match Data Validation List

    Ace,

    Thank you. I have looked at that one, but I have an extra step I am unsure of. That site explains if you do not have a dynamic list. My list would be dynamic and the categories are not separated into multiple columns.

  6. #6
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Index-Match Data Validation List

    Quote Originally Posted by DinghoAteMyBaby View Post
    See attached.

    D17 in Roster provides a single drop down item, where there should be 4.
    Which of your tabs is "Roster"?

  7. #7
    Registered User
    Join Date
    08-20-2013
    Location
    Eau Claire, Wi
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index-Match Data Validation List

    ** Edited **
    Last edited by DinghoAteMyBaby; 08-21-2013 at 02:11 PM.

  8. #8
    Registered User
    Join Date
    08-20-2013
    Location
    Eau Claire, Wi
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index-Match Data Validation List

    I apologize, I misread.

    2013 is the tab in which D17 has a dropdown Data Validation.
    It pulls data from sheet DTB, by category of position.

    Based off of the position, I want the Data Validation drop down list to filter only those from DTB that meet the referenced position (i.e. C16)
    and list any names that meet that criteria.
    Last edited by DinghoAteMyBaby; 08-21-2013 at 05:11 PM.

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Index-Match Data Validation List

    Per your PM request for guidance:

    My work limits my upload / linking ability. The following link is to an issue I wrote and I apologize for seeking you out, directly, but I feel this is simply a syntax-based issue. I would greatly appreciate your help.

    http://www.excelforum.com/excel-form...tion-list.html

    The attachment on this link will show what looks like a Roster.
    On Sheet '2013' there is a cell (D17) that uses Data Validation, Indexing and Matching against cell (C16) where the Position Filter is located.

    I created a list of all the variables the filter would find and created the Data Validation list (located in sheet 'VLookup').

    What I want to have, is the ability to select the position to filter and have the Data Validation drop down list return all the player names at that position (in Cell D17's Data Validation Drop down list). In this scenario, there should be 4.


    If you are feeling generous, my next step is to have cells D18, D19, D20 (all the open slots) have this same ability, only to also filter out names that are in the cells already selected. More or less, so I couldn't select the same name 4 times... That once one is placed, I'd have only the remaining ones left. This part would mostly be aesthetic, but it would make managing 5 Fantasy Leagues of 12 Fantasy teams each, MUCH easier.


    Thank you very much for your time,
    There are a couple of options.

    If you don't mind that the data validations for WR position all have same names, then it would be easier.

    You would just apply this formula for the Data Validation (List) to all cells in the group:

    =OFFSET(INDEX(DTB!$A:$A,MATCH($C$16,DTB!$A:$A,0)),0,1,COUNTIF(DTB!$A:$A,$C$16),1)

    I have shown this option separately in in Z17 to Z21.

    Your probable preferred option of removing already chosen names from the list is a bit more complex.

    What you need to do is create a separate list in the DTB sheet for each position. I did one for the WR position in column AB.

    You need a formula to "reduce" the list as names are chosen. So formula in AB2 is:

    =IFERROR(INDEX($B$2:$B$50,SMALL(IF($A$2:$A$50=AB$1,IF(ISNA(MATCH($B$2:$B$50,'2013'!$D$17:$D$21,0)),ROW($B$2:$B$50)-ROW($B$2)+1)),ROWS($A$2:$A2))),"")


    This is an array formula and so must be confirmed with CTRL+SHIFT+ENTER not just ENTER and then copied down. Note, I assumed a total list size of 50 rows, you may need to expand it, but don't use whole columns and try to keep the list to absolute min necessary.

    Repeat these list for each position.

    Now back in Sheet3, the Data Validition formula for D17 to D21 would be:

    =OFFSET(DTB!$AB$2,0,0,COUNTIF(DTB!$AB:$AB,"?*")-1,1)

    The other groups would be similar formula, only changing reference column accordingly.

    Hope this helps.
    Attached Files Attached Files
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  10. #10
    Registered User
    Join Date
    08-20-2013
    Location
    Eau Claire, Wi
    MS-Off Ver
    Excel 2010
    Posts
    6

    Re: Index-Match Data Validation List

    Thank you, NVBC. That was exactly what I needed.
    Works perfectly.
    Last edited by DinghoAteMyBaby; 08-22-2013 at 02:15 PM.

  11. #11
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Index-Match Data Validation List

    Great! You are welcome!

+ 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. Data Validation List Using Index & Match Formula
    By rajeev.raj in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-16-2012, 03:08 AM
  2. [SOLVED] Index Match - Data Validation List - Result N/A
    By Veloso in forum Excel General
    Replies: 4
    Last Post: 07-21-2012, 12:49 PM
  3. Data Validation with Index Match
    By Blake 7 in forum Excel General
    Replies: 2
    Last Post: 02-09-2011, 07:43 AM
  4. Index/match with Data Validation Listing
    By rise206 in forum Excel General
    Replies: 7
    Last Post: 12-30-2010, 12:36 PM
  5. How do I use Data Validation and Index Match
    By MattyD1978 in forum Excel General
    Replies: 7
    Last Post: 05-25-2010, 06:45 AM

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