+ Reply to Thread
Results 1 to 4 of 4

(SOLVED) help with Array to look up multiple match results from column

  1. #1
    Forum Contributor
    Join Date
    01-11-2011
    Location
    Milwaukee, WI
    MS-Off Ver
    Excel 2003
    Posts
    107

    (SOLVED) help with Array to look up multiple match results from column

    I am struggling with coming up with a formula to solve my problem. I have a set of cells in WS 'WK1' (A5:A8) that I want to look in another WS 'Roster' F2:F25' that match exactly what is in WK1 cell A4 and return the result that is in Roster B2:B25

    I created names for the cell range
    TPLAY1 = B2:B25 which is the rank of a player located in WS 'Roster' and result I am looking to populate in WK1 A5:A8
    TSCHED1 = F2:F25 which is the column in WS Roster that I am searching for matches (there should always be 4 matches

    I am using the following formula with no luck

    {=IFERROR(INDEX(TPLAY1,SMALL(IF(TSCHED1=$A$4,ROW(TPLAY1)-MIN(ROW(TPLAY1)),ROWS($A$5:A5))),"")}


    Thanks in advance for any help
    Attached Files Attached Files
    Last edited by clundeen; 10-03-2017 at 12:12 PM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: help with Array to look up multiple match results from column

    =IFERROR(INDEX(Roster!B:B,SMALL(IF(TSCHED1=$A$4,ROW(TSCHED1)),ROWS($A$5:A5))),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed in the FIRST CELL ONLY by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. After that, the array can be dragged down as normal, to cover the desired range.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Contributor
    Join Date
    01-11-2011
    Location
    Milwaukee, WI
    MS-Off Ver
    Excel 2003
    Posts
    107

    Re: help with Array to look up multiple match results from column

    Thank you - I know about the CTRL+SHIFT+ENTER, but knew something else was wrong - THANK YOU!!!

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,139

    Re: (SOLVED) help with Array to look up multiple match results from column

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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. [SOLVED] Array to put results in one column in to one cell
    By Karnik in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-16-2017, 05:51 PM
  2. [SOLVED] Returning multiple results using an Array with AND and OR functions
    By simmo86 in forum Excel General
    Replies: 6
    Last Post: 12-28-2016, 07:12 PM
  3. [SOLVED] If statement of an array that retrieves multiple results
    By sooghtac in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-10-2014, 04:58 PM
  4. [SOLVED] If statement of an array that retrieves multiple results
    By sooghtac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-08-2014, 12:32 AM
  5. [SOLVED] Lookup to return multiple results - without array
    By ZeDoctor in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-22-2012, 07:42 AM
  6. Capturing multiple HLOOKUP results in an array
    By tnfire in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-27-2009, 07:27 PM
  7. Lookup data in array, results in column 1
    By dslomski in forum Excel General
    Replies: 3
    Last Post: 02-23-2009, 10:49 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