This is what I have got so far... all except the Last 5 column... I still would like to understand what you expect to see in those... give an example for the first team.
For the Home column formula is in K4:
=SUMPRODUCT(--(Schedule!$B$3:$B$308=B4),--(Schedule!$C$3:$C$308>Schedule!$E$3:$E$308))&"-"&SUMPRODUCT(--(Schedule!$B$3:$B$308=B4),--(Schedule!$C$3:$C$308<Schedule!$E$3:$E$308))&"-"&SUMPRODUCT(--(Schedule!$B$3:$B$308=B4),--(Schedule!$C$3:$C$308=Schedule!$E$3:$E$308),--(Schedule!$C$3:$C$308<>""))
For Away column, in L4:
=SUMPRODUCT(--(Schedule!$D$3:$D$308=B4),--(Schedule!$E$3:$E$308>Schedule!$C$3:$C$308))&"-"&SUMPRODUCT(--(Schedule!$D$3:$D$308=B4),--(Schedule!$E$3:$E$308<Schedule!$C$3:$C$308))&"-"&SUMPRODUCT(--(Schedule!$D$3:$D$308=B4),--(Schedule!$E$3:$E$308=Schedule!$C$3:$C$308),--(Schedule!$E$3:$E$308<>""))
both copied down and copied to Western Conference table.
As for the WC setup, I used a helper column in the Standings sheet to get the rankings of the teams based on Pts and GD.
in Q4 formula is:
=IF(OR(C4="",ISTEXT(C4)),"",RANK(C4,$C$4:$C$25)+SUMPRODUCT(--($C$4:$C$25=C4),--(J4<$J$4:$J$25)))
copied down
then in Sheet1, B6 to get 7th:
=INDEX(Standings!$B$4:$B$25,MATCH(7,Standings!$Q$4:$Q$25,0))
in B10 to get 10th:
=INDEX(Standings!$B$4:$B$25,MATCH(10,Standings!$Q$4:$Q$25,0))
in AJ6 to get 8th:
=INDEX(Standings!$B$4:$B$25,MATCH(8,Standings!$Q$4:$Q$25,0))
and in AJ10 to get 9th:
=INDEX(Standings!$B$4:$B$25,MATCH(9,Standings!$Q$4:$Q$25,0))
So if you review those and elaborate on the definition of "Last 5", we would be set.
Bookmarks