+ Reply to Thread
Results 1 to 4 of 4

Index Match Help

  1. #1
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Index Match Help

    I have a bunch of dates in Column B. In Cell X1 I have used a formula to find the next date in the future from column B. I have used the index match formula to find the next date in the list and then to tell me what is in the cell to the left of it. However, sometimes there will be numerous equal dates as in the next date the index match is finding might be the 20th July and there might be up to 10 different instances of the 20th July in column B. How can I get the formula to return all 10 results instead of just the first one it comes across?

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Index Match Help

    Perhaps using a compination of INDEX & SMALL(IF using an ARRAY formula. But it's better to upload a small sample workbook.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: Index Match Help

    SampleINDEXMATCH.xlsx

    Here you go. As you will see the next date is 19th July 2013 and this corresponds with the letter G. However, there are numerous other 19th of Julys and I too would like them listed down the page one by one.

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Index Match Help

    In I20, use this ARRAY formula. Copy down.

    =IFERROR(INDEX($A$2:$A$1000,SMALL(IF($B$2:$B$1000=$H$20,ROW($A$2:$A$1000)-1),ROW(A1))),"")

    -- Array(CSE) { }, formulae are confirmed with Control+Shift+Enter.
    Not just Enter.

+ 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. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  2. [SOLVED] VBA for creating Index-Match every 2 rows where INDEX refer to a different column per row
    By bisaya789 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-22-2012, 03:46 AM
  3. [SOLVED] Index/Match/Match....Stops without completing the match
    By irsles in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-14-2012, 10:16 PM
  4. Index Match Index Formula work slow
    By avk in forum Excel General
    Replies: 9
    Last Post: 03-07-2012, 02:19 PM
  5. Replies: 5
    Last Post: 02-29-2012, 08:51 PM

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