+ Reply to Thread
Results 1 to 9 of 9

Calculate Top 7 Team Points, and Sort by Scores

  1. #1
    Registered User
    Join Date
    07-20-2023
    Location
    Atlanta, GA
    MS-Off Ver
    2021
    Posts
    6

    Calculate Top 7 Team Points, and Sort by Scores

    Hi All,
    Working through more issues converting this google sheets file to excel. I've upgraded to using Excel 2021 program to hopefully be able to more easily see errors in any of the formulas. Background is this is for an amateur bicycle racing series that I'm volunteering to help collect and manage results for. When the file was converted from google to excel, some of the formulas didn't transfer at all, and some are just not working, and some are working and some not for unknown reasons to me.

    Currently working on the "Team Standings" tab. The basics of what needs to happen is the top 7 point scores for each team on each race day tab(ELKS, GPCX, BW, DLV etc) get added to the teams total for the season and then the teams are ranked based on their overall score.

    The google sheet document had two main operations for this:

    One in a series of helper columns(on the right side of the sheet) that collected each unique team name per event using the following formula:
    =IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(IFERROR(INDEX(NASH!$F$2:$F$400, MATCH(0, COUNTIF(AB$1:AB1, NASH!$F$2:$F$400)+(NASH!$F$2:$F$400=""), 0)), INDEX(GPCX!$F$2:$F$400, MATCH(0, COUNTIF(AB$1:AB1, GPCX!$F$2:$F$400)+(GPCX!$F$2:$F$400=""), 0))), INDEX(ELKS!$F$2:$F$400, MATCH(0, COUNTIF(AB$1:AB1, ELKS!$F$2:$F$400)+(ELKS!$F$2:$F$400=""), 0))), INDEX(TBD!$F$2:$F$400, MATCH(0, COUNTIF(AB$1:AB1, TBD!$F$2:$F$400)+(TBD!$F$2:$F$400=""), 0))), INDEX(BW!$F$2:$F$400, MATCH(0, COUNTIF(AB$1:AB1, BW!$F$2:$F$400)+(BW!$F$2:$F$400=""), 0))), INDEX('ATH1'!$F$2:$F$400, MATCH(0, COUNTIF(AB$1:AB1, 'ATH1'!$F$2:$F$400)+('ATH1'!$F$2:$F$400=""), 0))), INDEX('ATH2'!$F$2:$F$400, MATCH(0, COUNTIF(AB$1:AB1, 'ATH2'!$F$2:$F$400)+('ATH2'!$F$2:$F$400=""), 0))), INDEX(MACON!$F$2:$F$400, MATCH(0, COUNTIF(AB$1:AB1, MACON!$F$2:$F$400)+(MACON!$F$2:$F$400=""), 0))), INDEX(DLV!$F$2:$F$400, MATCH(0, COUNTIF(AB$1:AB1, DLV!$F$2:$F$400)+(DLV!$F$2:$F$400=""), 0))), "")))))))

    Collects points from each event using this formula:
    =ArrayFormula(iferror(Large(IF($AB2=ELKS!$F$1:$F$400,ELKS!$H$1:$H$400),1),"0")+(iferror(Large(IF($AB2=ELKS!$F$1:$F$400,ELKS!$H$1:$H$400),2),"0"))+(iferror(Large(IF($AB2=ELKS!$F$1:$F$400,ELKS!$H$1:$H$400),3),"0"))+(iferror(Large(IF($AB2=ELKS!$F$1:$F$400,ELKS!$H$1:$H$400),4),"0"))+(iferror(Large(IF($AB2=ELKS!$F$1:$F$400,ELKS!$H$1:$H$400),5),"0"))+(iferror(Large(IF($AB2=ELKS!$F$1:$F$400,ELKS!$H$1:$H$400),6),"0"))+(iferror(Large(IF($AB2=ELKS!$F$1:$F$400,ELKS!$H$1:$H$400),7),"0")))

    The final sorting is done on the left side of the sheet using formula:
    =Sort(AB2:AC121,2,false)

    These formulas don't seem to work in excel, and then I'm wondering if there's a better, completely different pathway to put all this together and get this task completed?

    Also looking like I'm having some trouble uploading the spreadsheet file too, unsure what the situation is there?

    Thanks in advance

    2023 GACX Results Work.xlsx
    Last edited by terrykalaka; 07-26-2023 at 08:45 AM. Reason: add file

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

    Re: Calculate Top 7 Team Points, and Sort by Scores

    The sheet needs to be a SAMPLE sheet - maybe you have not cut it down in size?

    Please update your forum profile to Excel 2021.

    There are instructions at the top of the page explaining how to attach your sample workbook (yellow banner: HOW TO ATTACH YOUR SAMPLE WORKBOOK). Screenshots are of little practical use as we cannot manipulate them.

    A good sample workbook has just 10-20 rows of representative data that has been desensitised. It also has expected results mocked up, worked examples where required, relevant cells highlighted and a few explanatory notes.
    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
    Registered User
    Join Date
    07-20-2023
    Location
    Atlanta, GA
    MS-Off Ver
    2021
    Posts
    6

    Re: Calculate Top 7 Team Points, and Sort by Scores

    Hi, thanks AliGW, got the file cut down and uploaded now in the original post

  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
    80,916

    Re: Calculate Top 7 Team Points, and Sort by Scores

    Great - can you tell me where I shall find the non-working formulae?

  5. #5
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Calculate Top 7 Team Points, and Sort by Scores

    The formula in AD2 & D2 can be replaced by
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    I cannot find the other formula

  6. #6
    Registered User
    Join Date
    07-20-2023
    Location
    Atlanta, GA
    MS-Off Ver
    2021
    Posts
    6

    Re: Calculate Top 7 Team Points, and Sort by Scores

    The following formula belonged to cell AB2:
    Please Login or Register  to view this content.
    And this in B2:
    Please Login or Register  to view this content.

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Calculate Top 7 Team Points, and Sort by Scores

    For the other formula try
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Registered User
    Join Date
    07-20-2023
    Location
    Atlanta, GA
    MS-Off Ver
    2021
    Posts
    6

    Re: Calculate Top 7 Team Points, and Sort by Scores

    Fluff13, thanks for this.

    How can I adapt this formula, if we need to pull unique names from more worksheets? And then can it be set-up to sort based on the calculated team total(column C)?

    I attempted this formula to try to adapt for more worksheets:
    Please Login or Register  to view this content.
    but I'm definitely missing on how the formula is doing all of the operations

  9. #9
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Calculate Top 7 Team Points, and Sort by Scores

    The formula should be like
    Formula: copy to clipboard
    Please Login or Register  to view this content.

+ 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. trying to achieve Team A Vs Team B scores
    By Patcheen in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-26-2021, 01:56 AM
  2. Transpose rows to columns and sort by scores (with repetitive scores)
    By anishmalhotra in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-02-2019, 08:17 PM
  3. [SOLVED] ID top 5 high scores and associated team names from a table
    By thebutlerdidit in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-08-2016, 07:11 PM
  4. Sum of the Maximum Scores per Team
    By MarvinP in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-18-2015, 05:32 AM
  5. Replies: 1
    Last Post: 06-15-2013, 09:02 PM
  6. Replies: 3
    Last Post: 09-18-2012, 09:50 AM
  7. Replies: 11
    Last Post: 07-07-2012, 03:58 AM

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