The formula
=SUMPRODUCT((Sched[Home]=[@Club])*(Sched[hScore]>Sched[vScore])+(Sched[VIS]=[@Club])*(Sched[vScore]>Sched[hScore]))
is placed in the "W" column and it totals the numer of wins for that team in the table shown below
In the above example Team B and Team C are tied with the same record, and to break the tie, I'll be adding a column "DivW" that will determine the total the number of wins against teams within the division using the formula
=SUMPRODUCT((Sched[Home]=[@Club])*(Sched[hScore]>Sched[vScore])*( { is Sched[VIS] in same division })+(Sched[VIS]=[@Club])*(Sched[vScore]>Sched[hScore])*( { is Sched[Home] in same division }))
Any suggestions on replacing the text between {} to determine if the opponent is in the same division as [@Club] ?
=SUMPRODUCT((Sched[Home]=[@Club])*(Sched[hScore]>Sched[vScore])+(Sched[VIS]=[@Club])*(Sched[vScore]>Sched[hScore]))
is placed in the "W" column and it totals the numer of wins for that team in the table shown below
Code:
Rank Club GP W L Percentage Rank Pts
4 Team A 162 73 89 0.451 5
5 Team C 162 84 78 0.519 2
1 Team D 162 85 77 0.525 1
3 Team B 162 84 78 0.519 2
2 Team E 162 74 88 0.457 4
In the above example Team B and Team C are tied with the same record, and to break the tie, I'll be adding a column "DivW" that will determine the total the number of wins against teams within the division using the formula
=SUMPRODUCT((Sched[Home]=[@Club])*(Sched[hScore]>Sched[vScore])*( { is Sched[VIS] in same division })+(Sched[VIS]=[@Club])*(Sched[vScore]>Sched[hScore])*( { is Sched[Home] in same division }))
Any suggestions on replacing the text between {} to determine if the opponent is in the same division as [@Club] ?
Last edited: