JamesAppleby
New Member
- Joined
- May 23, 2022
- Messages
- 6
- Office Version
- 2016
- Platform
- Windows
Hello all,
I am working on a league table in excel which follows these set rules to determine the rank of the teams.
In a league table there are 4 teams who all play each other once, 3 points for a win, 1 for a draw, 0 for a loss. With certain conditions 3 teams can all have the same number of points, same goal difference and same number of goals scored.
I currently have a terrible IF function that says does team 1 rank equal teams 2 rank, if yes did team 1 beat team 2 then team 1 scores higher, if no does team 1 rank equal team 3 rank, and so on.
This only allows me to compare 2 teams against each other against the criteria for the 4th point, and also does not consider the inevitable 3 team tie up.
Any ideas on how to go about this problem would be greatly appreciated. Also I would really love to stay away from VBA as I would like my workbook to remain macro free!
Cheers!
James
I am working on a league table in excel which follows these set rules to determine the rank of the teams.
- Points obtained in all group matches;
- Goal difference in all group matches;
- Number of goals scored in all group matches;
- Points obtained in the matches played between the teams in question;
- Goal difference in the matches played between the teams in question;
- Number of goals scored in the matches played between the teams in question;
In a league table there are 4 teams who all play each other once, 3 points for a win, 1 for a draw, 0 for a loss. With certain conditions 3 teams can all have the same number of points, same goal difference and same number of goals scored.
I currently have a terrible IF function that says does team 1 rank equal teams 2 rank, if yes did team 1 beat team 2 then team 1 scores higher, if no does team 1 rank equal team 3 rank, and so on.
This only allows me to compare 2 teams against each other against the criteria for the 4th point, and also does not consider the inevitable 3 team tie up.
Any ideas on how to go about this problem would be greatly appreciated. Also I would really love to stay away from VBA as I would like my workbook to remain macro free!
Cheers!
James