+ Reply to Thread
Results 1 to 6 of 6

INDEX MATCH get next match

  1. #1
    Registered User
    Join Date
    03-07-2014
    Location
    Hsv, AL
    MS-Off Ver
    Excel 2007
    Posts
    13

    INDEX MATCH get next match

    Hello,

    Working on this formula:

    =INDEX(INDIRECT($F$36&"!EB:EB"),MATCH(LOB!G41,INDIRECT($F$36&$G$36),0))),"")

    Recently found out that INDEX MATCH will return the 1st value it matches. In this case it is looking up LOB!G41 in column DD!J:J but there are 3 occurrences of the value 75,000 and each belong to a different SKU. So, it's just returning the 1st one. Those are in column EB. I also have a column A, that has the row number.

    I can't figure out how to make this find the next result. So, 75,000 - 1, 75,000 - 2 and 75,000 3.

    I figure its some use with SMALL and Countif but I can't figure it out

    I was looking at this formula in this thread:

    http://www.excelforum.com/excel-form...-function.html

    If someone can tell me how to adjust this formula and what its supposed to mean, I think we can figure it out!

  2. #2
    Registered User
    Join Date
    03-07-2014
    Location
    Hsv, AL
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: INDEX MATCH get next match

    =INDEX(INDIRECT($F$36&"!EB1:EB196"),SMALL(IF($G$41:$G$50=G41,ROW(INDIRECT($F$36&"!EB1:EB196"))-ROW($EB$1)+1),COUNTIF(G$41:G41,G41)))

    This is what I'm testing

  3. #3
    Registered User
    Join Date
    03-07-2014
    Location
    Hsv, AL
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: INDEX MATCH get next match

    Oh my god this works:

    =INDEX(INDIRECT($F$36&"!EB:EB"),SMALL(IF(INDIRECT($F$36&$G$36)=G47,ROW(INDIRECT($F$36&"!EB:EB"))-ROW($EB$1)+1),COUNTIF(G$41:G47,G47)))

  4. #4
    Registered User
    Join Date
    03-07-2014
    Location
    Hsv, AL
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: INDEX MATCH get next match

    There's something wrong with that formula. After I started using it, excel would not save. Spent the last 5 hours trying to repair the damage....


  5. #5
    Registered User
    Join Date
    03-07-2014
    Location
    Hsv, AL
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: INDEX MATCH get next match

    Reverted back to:

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    03-07-2014
    Location
    Hsv, AL
    MS-Off Ver
    Excel 2007
    Posts
    13

    Re: INDEX MATCH get next match

    I can't even "Save As" another name. I can open and save the same file. This is insane.

+ 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: 6
    Last Post: 04-30-2014, 02:42 AM
  2. Replies: 6
    Last Post: 11-08-2013, 10:29 PM
  3. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  4. [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
  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