You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Apple Numbers - Ranking wins and losses for sports league

I am trying to create a spreadsheet for a youth sports league I manage that will track teams standings live as they accrue wins and losses through the season. In column A4:A15 I have the team names, column B4:B15 is wins, C4:C15 is losses, D4:D15 is ties, and then E4:E15 is standing. So basically what I want is for the spreadsheet to rank the teams by wins first, then to use losses as the 1st tie break, then ties as the final tie break. How can I do this?? I am fairly new to Numbers (former excel user) so I don't know how to arrange the formula.


Help!!

MacBook Air (2020 or later)

Posted on Apr 21, 2022 7:39 AM

Reply
5 replies

Apr 21, 2022 9:25 AM in response to TateRedd33

Would this do what you want?


First calculate a composite "score" that accounts for wins, losses, and ties, and then rank those scores.




Formula in E2, filled or copied down:


=B2−C2*0.1+D2*0.1


You may want to change the 0.1 weightings for a different relative importance of losses vs ties.


Formula in F2, filled or copied down:


=RANK(E2,E)


Replace the , in the formulas with ; if your region use , as a decimal separator.


If it does what you want then you can hide column E.



SG

May 3, 2022 1:59 PM in response to TateRedd33

Let me ask some questions.

Have all the teams the same numbers of games or have some teams not played all games when you create this chart?


In soccer we have the rule that a team gets 3 points for a win and 1 point for a tie, the total of your points will define your rang in the season. Do you have something similar?


Who is better? Team A has 1 win and lost 2 times, team B has 3 ties. Both teams played 3 games!

You have to define the weightings for a different relative importance of wins, losses & ties


Why do you go with 1st numbers of wins, 2nd numbers of losses and 3rd numbers of ties.

Wouldn't it be better to go with 1st numbers of wins, 2nd numbers of ties and 3rd numbers of losses (if really needed)?


Here my proposal:


Ralf

Apr 21, 2022 10:09 AM in response to SGIII

This is very helpful. I applied it to my spreadsheet and it worked great. I do have two issues though that you could maybe help with also. How do you prevent ties and how do you flip the rankings so the highest score is ranked #1 and then descend from there?? I have one team that is 4-0-0 and one that is 4-1-0. It gives the 4-0-0 team a score of 4 and ranking of 10, and the 4-1-0 team a score of 3.9 and a ranking of 10. so ideally those would not be tied. And also how to do you flip the rankings because it has the teams with the lowest score ranked higher than the teams with higher scores. So I have a team that is 0-2 currently ranked higher than the team that is 4-0-0.

Apr 21, 2022 10:52 PM in response to TateRedd33

TateRedd33 wrote:

How do you prevent ties and how do you flip the rankings so the highest score is ranked #1 and then descend from there??


The example does rank the highest score as 1 and descend from there (column F).


What kind of ties are you seeing?


It would help to see your data and what specifically you want to occur. To post a screenshot, shift-command-4, drag to select area with the "cross-hairs", release, start a new post here and insert the screenshot image from the Desktop using the "mountains and moon" Image Insertion icon below the compose window here.


SG

May 3, 2022 11:24 AM in response to TateRedd33

you could just sort the table, in SG's example table

Sort Column D in Descending order

then C in ascending order

then B in descending order.

this would produce the same result basically,


you can add a basic formula to compare one row to the one above to see if the Win/Loss/Tie is exact match to find true "ties" where the teams have the exact same record.


Jason


Apple Numbers - Ranking wins and losses for sports league

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.