+ Reply to Thread
Results 1 to 6 of 6

Rank TOP 10 by summed group values

  1. #1
    Registered User
    Join Date
    10-17-2020
    Location
    France
    MS-Off Ver
    2019
    Posts
    2

    Rank TOP 10 by summed group values

    Hello,

    I don't have much experience in excel and im really stuck with this. So i'd really appreciate your help.

    I have this "Database" in excel :

    RTLP9.png

    What i want to do is to use Excel Formulas to make another table wich lists the TOP 2 of Groups by Sum of Score, including Number of sales.

    So the result might look like this :

    lCW2j.png

    Best i could achieve is to sum the Score by specifying the group in the Excel Formula:

    Please Login or Register  to view this content.
    In the future i might have more groups and a larger dataset so i hope you guys can help me to come up with a more generic formula in order to sum by groups and then get the TOP X value.

    Regards

  2. #2
    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
    43,974

    Re: Rank TOP 10 by summed group values

    A picture is worth 1000 words, a sample sheet is worth 1000 pictures!!

    You have attached a non-editable picture of an Excel sheet. That's not very easy to work with. Also... I'm lazy. I have to re-type your information before I can begin to address your problem. That puts me off completely.

    So.... Do yourself a favour and please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough). However, please give us an indication of the approximate number of rows of data you want the solution to work with (100, 1000, 100,000 or whatever).

    Unfortunately the attachment icon doesn't work at the moment. So,... instead click on Go Advanced (below the Edit Window) while composing your reply, then scroll down to and click on Manage Attachments and the Upload window will open. Click on Browse and navigate to (and double-click) the file icon that you want to attach, then click on Upload and then on Close this Window to return to the Edit window. When you have finished composing your post, click on Submit Post.

    Make sure confidential information is removed first!!!!
    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

  3. #3
    Registered User
    Join Date
    10-17-2020
    Location
    France
    MS-Off Ver
    2019
    Posts
    2

    Re: Rank TOP 10 by summed group values

    You're right, i apologize.

    Please find attached an example work sheet explaining what i want to do.
    Attached Files Attached Files

  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
    43,974

    Re: Rank TOP 10 by summed group values

    In I8:
    =INDEX(A$2:A$29,MATCH(J8,INDEX(SUMIFS($B$2:$B$29,$A$2:$A$29,$A$2:$A$29)*(COUNTIF($I$7:$I7,$A$2:$A$29)=0),0),0))

    In J8:
    =LARGE(INDEX(SUMIFS($B$2:$B$29,$A$2:$A$29,$A$2:$A$29)*(COUNTIF($I$7:$I7,$A$2:$A$29)=0),0),ROWS($1:1))

    In K8:
    =SUMIF(A:A,I8,C:C)

    If you're using French regional settings, use ; instead of ,
    Attached Files Attached Files

  5. #5
    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
    43,974

    Re: Rank TOP 10 by summed group values

    It just occurred to me... are there likely to be ties? If so, use these formulae instead...
    Attached Files Attached Files

  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
    43,974

    Re: Rank TOP 10 by summed group values

    In fact... just ignore Post 4 and use the version in Post 5, as I missed a bit of your requirement first time round.

+ 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: 4
    Last Post: 05-07-2015, 02:56 PM
  2. Replies: 8
    Last Post: 02-20-2014, 07:03 PM
  3. RANK - Non unique values, contiguous rank required
    By PaulBo in forum Excel General
    Replies: 9
    Last Post: 02-20-2014, 10:34 AM
  4. Group Cells and Rank based on values
    By sharahoff in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-17-2012, 12:50 PM
  5. Formula to Rank and populate values base don Rank
    By Excel Dumbo in forum Excel General
    Replies: 3
    Last Post: 10-09-2012, 02:02 AM
  6. Max rank by group
    By klundtasaur in forum Excel General
    Replies: 4
    Last Post: 07-01-2011, 04:00 AM
  7. How to rank by group
    By vumian in forum Excel General
    Replies: 5
    Last Post: 12-11-2008, 10:04 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