+ Reply to Thread
Results 1 to 4 of 4

LARGE function to find top 10 but want to SUM other cells based on the top 10

Hybrid View

  1. #1
    Registered User
    Join Date
    03-03-2014
    Location
    washington
    MS-Off Ver
    Excel 2013
    Posts
    2

    Unhappy LARGE function to find top 10 but want to SUM other cells based on the top 10

    I have a large list of data that is grouped. I want to find the Top 5 within each group, but then SUM a different cell in the rows of the Top 5.

    I have attached a file that helps explain the situation in more detail (real data).

    Column A: Grouping
    Column B: #s to obtain the Top 5 from (using LARGE function, I assume)
    Column C: #s I want to sum from the Top 5 (as determined by Column B

    I spent the majority of yesterday working on this and cannot figure it out.

    Any help greatly appreciated!Test.xlsx

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: LARGE function to find top 10 but want to SUM other cells based on the top 10

    what if there are more than one that = the top 5 so say it went
    5
    5
    5
    5
    5
    5
    5
    5
    5
    5
    4
    3
    2
    1
    then large 1 to 11 would all =5
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    03-03-2014
    Location
    washington
    MS-Off Ver
    Excel 2013
    Posts
    2

    Re: LARGE function to find top 10 but want to SUM other cells based on the top 10

    Quote Originally Posted by martindwilson View Post
    what if there are more than one that = the top 5 so say it went
    5
    5
    5
    5
    5
    5
    5
    5
    5
    5
    4
    3
    2
    1
    then large 1 to 11 would all =5
    Based on the actual data I am using, that will not be the case and isn't something I'm concerned about solving for.
    Thanks,
    CB

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: LARGE function to find top 10 but want to SUM other cells based on the top 10

    ok then try this
    =SUMIFS($C$2:$C$200,$B$2:$B$200,">="&LARGE(INDEX(($A$2:$A$200=G2)*($B$2:$B$200),0),5),$A$2:$A$200,G2) where g2 contains a grouping
    Attached Files Attached Files

+ 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. Find failure in large cells
    By griz in forum Excel General
    Replies: 7
    Last Post: 11-23-2011, 09:03 AM
  2. how can I find merged cells in a large xl-file
    By tvanellen in forum Excel General
    Replies: 5
    Last Post: 05-07-2006, 08:10 PM
  3. [SOLVED] Find LARGE, and th cell 3 cells to the left?
    By Intotao in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-09-2006, 05:35 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