+ Reply to Thread
Results 1 to 6 of 6

Index & Match - return the next instance or x number of instances

  1. #1
    Registered User
    Join Date
    05-24-2022
    Location
    Denver, Colorado
    MS-Off Ver
    365
    Posts
    3

    Index & Match - return the next instance or x number of instances

    I have a table A16:R305 (Sunday), I need to return the name in column A of the table ONLY if the value in Column R (Sell Out Miss) is "MISS."

    I need it to return all the name values for "Miss." I know there are 5 in this table (=COUNTIF(Sunday[Sell Miss],"MISS"))

    BUT my formula only returns the same (first) instance.

    =INDEX(Sunday,MATCH("MISS",Sunday[Sell Miss],0),1)

    How can I modify it to return all 5 instances?

  2. #2
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    2,829

    Re: Index & Match - return the next instance or x number of instances

    Please see the yellow banner at the top of the page. Attach a sample workbook with mocked up answers and you'll get better/quicker responses.

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: Index & Match - return the next instance or x number of instances

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

  4. #4
    Registered User
    Join Date
    05-24-2022
    Location
    Denver, Colorado
    MS-Off Ver
    365
    Posts
    3

    Re: Index & Match - return the next instance or x number of instances

    Thanks, I figured it out :-)

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Index & Match - return the next instance or x number of instances

    @catmm
    Please add (post) your solution, so other forummembers can also learn from it.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  6. #6
    Registered User
    Join Date
    05-24-2022
    Location
    Denver, Colorado
    MS-Off Ver
    365
    Posts
    3

    Re: Index & Match - return the next instance or x number of instances

    =IF(M33>Sunday!$T$6,"",INDEX(Sunday!$A$16:$A$305,SMALL(IF(Sunday!$R$16:$R$305=$B$32,ROW(Sunday!$R$16:$R$305)-ROW(Sunday!$R$16)+1),COUNTIF($M$33:M33,"<="&Sunday!$T$6))))

    T6 is hidden from view and contains the count of "miss" from column R.
    M33 starts my numerical list - this is placed in M33: =IF(1>Sunday!$T$6,"",1) so it will only number the list the appropriate amount.

    1 NAME
    2 NAME
    3 NAME

+ 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. INDEX MATCH - need to return the MAX number
    By RDCooper in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-18-2018, 05:02 AM
  2. [SOLVED] Excel - Simple Index Match - Return all Instances - not working
    By ironfelix717 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-30-2017, 10:59 AM
  3. [SOLVED] INDEX MATCH to return the row number?
    By cabroncito29 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-01-2015, 01:17 PM
  4. INDEX MATCH - can it return the row number?
    By cabroncito29 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-30-2015, 04:33 PM
  5. [SOLVED] Incorrect column number returned in INDEX, MATCH for nth instance
    By BuZZarD73 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-29-2014, 11:00 AM
  6. Replies: 6
    Last Post: 04-11-2012, 01:07 PM
  7. Replies: 1
    Last Post: 01-26-2012, 07:16 AM

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