ReservoirDodds
New Member
- Joined
- Mar 1, 2021
- Messages
- 2
- Office Version
- 365
- Platform
- Windows
- MacOS
Hello,
Firstly, I have often browsed this forum for solutions and found it superbly useful, so thank you all!
Now, to my question. I have created myself a type of predictor for football (soccer) division tables, where I update each matchday with the up to date table and a secondary table updates based upon a ranking worked out from points per game (PPG), then a predicted goal difference (worked out much the same as the PPG). The issue is, occasionally there are times when a team has the same PPG and also the same predicted goal difference and as such I get error messages. With that in mind, I am hoping I can rectify this issue by including a third ranking criteria, this time being goals scored.
It should be weighted in the following order:
1st ranking should be PPG, the higher the number the higher the rank.
2nd ranking should then be goal difference, again, the higher the number, the higher the rank.
3rd ranking should then be goals for, once more, the higher the number, the higher the rank.
These rankings would only ideally come into effect when there is a tie in ranking, so for instance I have two teams on 55 points, the formula would then rank goal difference to determine which is 1st and which is second. If this is also equal, it then looks at the third criteria.
I have posted a snippet from one of the leagues below. Ordinarily most of the columns are hidden, hence it looking messy. Please do let me know if there are areas I can tidy up too. Essentially, what I is to be able to update the left hand table with the latest divisional table, and have the right hand table update automatically to reflect a prediction of the end of season table. Thanks!
Firstly, I have often browsed this forum for solutions and found it superbly useful, so thank you all!
Now, to my question. I have created myself a type of predictor for football (soccer) division tables, where I update each matchday with the up to date table and a secondary table updates based upon a ranking worked out from points per game (PPG), then a predicted goal difference (worked out much the same as the PPG). The issue is, occasionally there are times when a team has the same PPG and also the same predicted goal difference and as such I get error messages. With that in mind, I am hoping I can rectify this issue by including a third ranking criteria, this time being goals scored.
It should be weighted in the following order:
1st ranking should be PPG, the higher the number the higher the rank.
2nd ranking should then be goal difference, again, the higher the number, the higher the rank.
3rd ranking should then be goals for, once more, the higher the number, the higher the rank.
These rankings would only ideally come into effect when there is a tie in ranking, so for instance I have two teams on 55 points, the formula would then rank goal difference to determine which is 1st and which is second. If this is also equal, it then looks at the third criteria.
I have posted a snippet from one of the leagues below. Ordinarily most of the columns are hidden, hence it looking messy. Please do let me know if there are areas I can tidy up too. Essentially, what I is to be able to update the left hand table with the latest divisional table, and have the right hand table update automatically to reflect a prediction of the end of season table. Thanks!
Cell Formulas | ||
---|---|---|
Range | Formula | |
F2:F21 | F2 | =SUM(E2/D2) |
G2:G21 | G2 | =H2 |
H2:H21 | H2 | =SUM($P$3*F2) |
I2:I21 | I2 | =RANK(H2,$H$2:$H$25,0) |
L2:L21 | L2 | =SUM(J2-K2) |
M2:M21 | M2 | =L2/D2 |
N2:N21 | N2 | =M2*$P$3 |
S2 | S2 | =VLOOKUP(1,$B$2:$C$25,2,FALSE) |
T2:T21 | T2 | =VLOOKUP(S2,$C$2:$H$25,6,FALSE) |
U2:U21 | U2 | =VLOOKUP(S2,$C$2:$N$21,12,FALSE) |
S3 | S3 | =VLOOKUP(2,$B$2:$C$25,2,FALSE) |
S4 | S4 | =VLOOKUP(3,$B$2:$C$25,2,FALSE) |
S5 | S5 | =VLOOKUP(4,$B$2:$C$25,2,FALSE) |
S6 | S6 | =VLOOKUP(5,$B$2:$C$25,2,FALSE) |
S7 | S7 | =VLOOKUP(6,$B$2:$C$25,2,FALSE) |
S8 | S8 | =VLOOKUP(7,$B$2:$C$25,2,FALSE) |
S9 | S9 | =VLOOKUP(8,$B$2:$C$25,2,FALSE) |
S10 | S10 | =VLOOKUP(9,$B$2:$C$25,2,FALSE) |
S11 | S11 | =VLOOKUP(10,$B$2:$C$25,2,FALSE) |
S12 | S12 | =VLOOKUP(11,$B$2:$C$25,2,FALSE) |
S13 | S13 | =VLOOKUP(12,$B$2:$C$25,2,FALSE) |
S14 | S14 | =VLOOKUP(13,$B$2:$C$25,2,FALSE) |
S15 | S15 | =VLOOKUP(14,$B$2:$C$25,2,FALSE) |
S16 | S16 | =VLOOKUP(15,$B$2:$C$25,2,FALSE) |
S17 | S17 | =VLOOKUP(16,$B$2:$C$25,2,FALSE) |
S18 | S18 | =VLOOKUP(17,$B$2:$C$25,2,FALSE) |
S19 | S19 | =VLOOKUP(18,$B$2:$C$25,2,FALSE) |
S20 | S20 | =VLOOKUP(19,$B$2:$C$25,2,FALSE) |
S21 | S21 | =VLOOKUP(20,$B$2:$C$25,2,FALSE) |
B2:B21 | B2 | =RANK.EQ($G2,$G$2:$G$21)+COUNTIFS($G$2:$G$21,$G2,$N$2:$N$21,">"&$N2) |