Results 1 to 8 of 8

Thread: Need formula to create totals using only certain data

  1. #1
    Neophyte dpackard's Avatar
    Join Date
    Jan 2021
    Posts
    3
    Articles
    0
    Excel Version
    Office online

    Need formula to create totals using only certain data



    Register for a FREE account, and/
    or Log in to avoid these ads!

    I have a list of competitors and their dogs that earn points in competitions that need to be tracked for the year. Currently, the standings are based on the total points earned by each team, but I would like to set up a scenario where I can see standings based only on the sum of a certain number of each team's top scores (either 5, 10, or 15).

    I have formulas in place to sum up the number of competitions that each team has earned points in, as well as their total points earned for the year, but I don't know how to write the formula to add up only the top 5, 10 or 15 sets of points for each team. Is this possible?

    I've attached my worksheet with my current progress.

    Thank you
    Attached Files Attached Files

  2. #2
    Administrator AliGW's Avatar
    Join Date
    Nov 2015
    Location
    Ipswich, Suffolk, England
    Posts
    1,627
    Articles
    0
    Excel Version
    Office 365 Subscription
    Administrative Note:


    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.


    Read this to understand why we (and other sites like us) consider this to be important.


    (Note: this requirement is not optional.)
    Ali
    Enthusiastic self-taught user of MS Excel!

  3. #3
    Neophyte dpackard's Avatar
    Join Date
    Jan 2021
    Posts
    3
    Articles
    0
    Excel Version
    Office online
    Well, I'd be happy to do that, but I can't find a way to edit my original post to add the link.......

    But, here it is - https://www.excelforum.com/excel-for...-new-post.html

  4. #4
    Administrator AliGW's Avatar
    Join Date
    Nov 2015
    Location
    Ipswich, Suffolk, England
    Posts
    1,627
    Articles
    0
    Excel Version
    Office 365 Subscription
    Thank you.
    Ali
    Enthusiastic self-taught user of MS Excel!

  5. #5
    Seeker Roger Haney's Avatar
    Join Date
    Jan 2021
    Posts
    9
    Articles
    0
    Excel Version
    Microsoft Excel Office 365
    This is easily accomplished with a formula : =MAX(IF(A$2:A$5000=N2,F$2:F$5000,"")) . I copied the list of names in Column A and pasted them in column N, starting in N2. I then used "remove duplicates" in the Data tab to get the unique list. The formula was filled down as far as the list of names in Column N extends. The formula references this list to avoid the labor of typing each unique name in each formula. This can be adjusted and implemented for Columns G and H.
    Last edited by Roger Haney; 2021-01-23 at 03:25 AM.

  6. #6
    Seeker Roger Haney's Avatar
    Join Date
    Jan 2021
    Posts
    9
    Articles
    0
    Excel Version
    Microsoft Excel Office 365
    My apologies- you wanted the Sum, not the Max. Change MAX to SUM.

  7. #7
    Neophyte dpackard's Avatar
    Join Date
    Jan 2021
    Posts
    3
    Articles
    0
    Excel Version
    Office online
    Quote Originally Posted by Roger Haney View Post
    This is easily accomplished with a formula : =MAX(IF(A$2:A$5000=N2,F$2:F$5000,"")) . I copied the list of names in Column A and pasted them in column N, starting in N2. I then used "remove duplicates" in the Data tab to get the unique list. The formula was filled down as far as the list of names in Column N extends. The formula references this list to avoid the labor of typing each unique name in each formula. This can be adjusted and implemented for Columns G and H.

    Thank you, I will give that a try!

  8. #8
    Super Moderator p45cal's Avatar
    Join Date
    Dec 2012
    Posts
    1,913
    Articles
    0
    Excel Version
    365
    And a Power Query solution at cell K1. Right-click and choose Refresh to update.
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •