+ Reply to Thread
Results 1 to 7 of 7

Excel - Simple Index Match - Return all Instances - not working

  1. #1
    Forum Contributor
    Join Date
    08-22-2017
    Location
    USA
    MS-Off Ver
    2016 WINDOWS and MAC
    Posts
    294

    Excel - Simple Index Match - Return all Instances - not working

    Hi,

    I am attempting to do something simple, which is return all the instances of some data that meets one criteria. For some reason, the formula i've concocted is not wanting to cooperate.

    As always, attached is an example.

    What I am looking for is to return the "ENTRY ID" for all entries that are associated with "TYPE" as "S8".

    My attempt is located in the sample with manually calculated results.


    Thanks for the help.
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Excel - Simple Index Match - Return all Instances - not working

    Try this:

    =IFERROR(IF(ROWS($E$19:E19)>$E$14,"",INDEX(E:E,SMALL(IF($F$19:$F$30="S8",ROW($E$19:$E$30)),ROWS($A$1:A1)))),"")

    array entered.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert leelnich's Avatar
    Join Date
    03-20-2017
    Location
    Delaware, USA
    MS-Off Ver
    Office 2016
    Posts
    2,807

    Re: Excel - Simple Index Match - Return all Instances - not working

    Or using the AGGREGATE function (mimicking SMALL) to avoid array-entry:
    Please Login or Register  to view this content.
    Last edited by leelnich; 12-30-2017 at 05:25 AM.
    Clicking the Add Reputation star below helpful posts is a great way to show your appreciation.
    Please mark your threads as SOLVED upon conclusion (Thread Tools above Post # 1). - Lee

  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,025

    Re: Excel - Simple Index Match - Return all Instances - not working

    or... again a non-array version, copied across and down:

    =IFERROR(INDEX(E:E,SMALL(INDEX(($F$19:$F$30<>"S8")*10^10+ROW($F$19:$F$30),0),ROWS(I$18:I18))),"")
    Attached Files Attached Files
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Forum Contributor
    Join Date
    08-22-2017
    Location
    USA
    MS-Off Ver
    2016 WINDOWS and MAC
    Posts
    294

    Re: Excel - Simple Index Match - Return all Instances - not working

    Hello,


    All work great! Thank you

  6. #6
    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,025

    Re: Excel - Simple Index Match - Return all Instances - not working

    You're welcome.

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,779

    Re: Excel - Simple Index Match - Return all Instances - not working

    Glad to have helped - thanks for the rep!

+ 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. Return Multiple Match Values in Excel Using INDEX-MATCH
    By chris1089 in forum Excel General
    Replies: 10
    Last Post: 06-15-2017, 09:25 AM
  2. [SOLVED] Index:Match to display unique instances only
    By mitch1976 in forum Excel General
    Replies: 16
    Last Post: 01-27-2016, 04:12 PM
  3. Index/Match not picking up with nth instances in list
    By Ebo12 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-25-2016, 02:45 PM
  4. [SOLVED] Use Index/Match to return a value based on two criteria? Not working for me...
    By ralldredge in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-18-2015, 02:42 PM
  5. Simple Index-Match not working...
    By blens1 in forum Excel General
    Replies: 6
    Last Post: 10-15-2014, 11:12 PM
  6. Replies: 3
    Last Post: 06-17-2013, 01:09 PM
  7. Replies: 6
    Last Post: 04-11-2012, 01:07 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