+ Reply to Thread
Results 1 to 5 of 5

Index(match) with multiple exact results

  1. #1
    Forum Contributor
    Join Date
    04-16-2014
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    125

    Index(match) with multiple exact results

    I have a list that index matches from a range from highest to lowest.

    =INDEX($W$7:$W$14,MATCH(LARGE($X$7:$X$14,1),$X$7:$X$14,0),1)
    =INDEX($W$7:$W$14,MATCH(LARGE($X$7:$X$14,2),$X$7:$X$14,0),1)
    =INDEX($W$7:$W$14,MATCH(LARGE($X$7:$X$14,3),$X$7:$X$14,0),1)
    =INDEX($W$7:$W$14,MATCH(LARGE($X$7:$X$14,4),$X$7:$X$14,0),1)

    My problem is that I often have 2 or more results that are the same.

    In this example the 3rd and 4th are the same. The above formulas results in:

    Largest1
    Largest2
    Largest3
    Largest3

    How do I get it to go past the first 3rd largest and find the 4th Largest also.

    Thanks in advance.

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

    Re: Index(match) with multiple exact results

    One way is to introduce a helper column, that could be hidden:

    Excel 2016 (Windows) 32 bit
    H
    I
    J
    1
    Helper
    2
    10
    10.01
    12
    3
    9
    9.01
    11
    4
    4
    4.01
    10
    5
    10
    10.02
    10
    6
    3
    3.01
    9
    7
    8
    8.01
    8
    8
    12
    12.01
    4
    9
    11
    11.01
    3
    Sheet: Sheet1

    Excel 2016 (Windows) 32 bit
    I
    J
    2
    =H2+COUNTIF(H$2:H2,H2)/100
    =INDEX($H$2:$H$9,MATCH(LARGE($I$2:$I$9,ROWS(J$2:J2)),$I$2:$I$9,0))
    Sheet: Sheet1
    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
    Valued Forum Contributor
    Join Date
    07-14-2017
    Location
    Poland
    MS-Off Ver
    Office 2010
    Posts
    528

    Re: Index(match) with multiple exact results

    Array formula (Ctrl + Shift + Enter)
    Please Login or Register  to view this content.
    Regards.
    Last edited by maras_mak; 07-10-2018 at 05:57 AM.

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

    Re: Index(match) with multiple exact results

    ... or a non-array (... just use Enter) formula, with no helper column...

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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
    04-16-2014
    Location
    Australia
    MS-Off Ver
    Excel 365
    Posts
    125

    Re: Index(match) with multiple exact results

    Thank you AliGW, maras and Glen.

    I have sort of combined the 3 suggestions and added +ROW()/10^8 to the column being matched (column X). Works perfectly.

+ 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: 10
    Last Post: 10-26-2021, 05:36 AM
  2. Index Match with multiple criteria - 1 exact, 1 approximate
    By sittinontop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-30-2017, 05:38 PM
  3. Index match multiple results
    By luke_reed in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-07-2017, 08:06 AM
  4. Replies: 2
    Last Post: 12-16-2016, 07:58 AM
  5. [SOLVED] Sum of multiple index/match results
    By kawaik in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-25-2015, 10:03 PM
  6. Index/Match with multiple results
    By kwadjo in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-26-2013, 04:05 PM
  7. Index/Match with multiple results
    By amcghee1 in forum Excel General
    Replies: 4
    Last Post: 10-18-2012, 12:15 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