+ Reply to Thread
Results 1 to 4 of 4

Finding Top 3 Largest Values from List and Returning Value to Left

  1. #1
    Registered User
    Join Date
    12-18-2018
    Location
    Phuket, Thailand
    MS-Off Ver
    Windows 11 - MS Office 365
    Posts
    88

    Finding Top 3 Largest Values from List and Returning Value to Left

    Hi there,

    I have a table with items "RESULT 1" to "RESULT 5". Each RESULT has a number in the next collumn.

    I want to find the top 3 values from the list and return the Item name (RESULT x).

    I have been able to do this successfully by merging a "Large" formula and getting the desired result with an "Index/Match" formula.

    However, if there are identical numbers i the top 3 values, the formula only returns one of the matched values. I'd like a formula that finds the top 3 results, even if two of those numbers are the same.

    It would be even better if it was an array formula and showed the top 4 results if, for example, there were two values coming back as third largest.

    I have attached an Excel sheet for your reference. The red cells are the formulas and the desired results are in collumn F & L.

    Thank you so much,

    Danny
    Attached Files Attached Files

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,609

    Re: Finding Top 3 Largest Values from List and Returning Value to Left

    One of possible propositions for J7 (valid if numbers in column J differ of more than 0.005) :
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    of course you will need also numbers 4 and 5 in H10:H11
    Attached Files Attached Files
    Best Regards,

    Kaper

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    China Shanghai
    MS-Off Ver
    365 V2402 and WPS V2022
    Posts
    3,327

    Re: Finding Top 3 Largest Values from List and Returning Value to Left

    Cell D7 array formula , Drag down , Then copy the range D7:D9 and paste to J7

    HTML Code: 

  4. #4
    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
    79,408

    Re: Finding Top 3 Largest Values from List and Returning Value to Left

    Using the new dynamic array functions FILTER and SORTBY (MS365)

    This:

    =FILTER(SORTBY(C2:C6,D2:D6,-1),D2:D6>=LARGE(D2:D6,3))

    and this:

    =FILTER(SORTBY(I2:I6,J2:J6,-1),J2:J6>=LARGE(J2:J6,3))

    Remove ALL data below the cells containing the formulae before applying these, or they will not spill correctly.
    Attached Files Attached Files
    Last edited by AliGW; 06-26-2021 at 05:34 AM.
    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.

+ 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. Finding 5 largest values in a column and then returning the rows that correspond
    By welchs101 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-24-2020, 08:03 PM
  2. [SOLVED] Finding Max value in column and returning value from left adjacent cell
    By Haidar123 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-17-2019, 03:33 AM
  3. Replies: 8
    Last Post: 07-12-2017, 05:32 PM
  4. [SOLVED] Finding a number in a column and returning the cell 5 columns to the left
    By bbrunof in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-26-2013, 04:16 PM
  5. Replies: 10
    Last Post: 12-17-2009, 02:00 AM
  6. Replies: 3
    Last Post: 07-24-2009, 06:50 PM
  7. Finding Every Third Number and Returning the Largest of Them
    By ExcelTip in forum Tips and Tutorials
    Replies: 0
    Last Post: 08-25-2005, 02:56 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