Okay, let us assume that the sample data that you have given is on a tab, and
instead of calling it sheet 1 or sheet 2, we'll call it Scores. If I read
your data correctly, Column E has the home team name, Column F has the home
team score, Column G has the visiting team name, and Column H has the
visiting team score.
There is nothing extra that needs to be done here, this one is fine as is.
Now, on a second tab, and for the sake of argument, we'll call it standing,
we have to set it up as follows:
Column A is a list of all the teams, Column B will be Wins, Column C will be
losses, Column D is ties, Column E is Goals For, and Column F is Goals
Against. You can do more, like have winning percentage, games back, etc, but
I'll leave that to you.
Type the formulas into the Standings tab in the cells listed, then copy down
as needed for the teams.
B2:
=SUMPRODUCT(--(Scores!$E$2:$E$20=$A2),--(Scores!$F$2:$F$20>Scores!$H$2:$H$20))+SUMPRODUCT(--(Scores!$G$2:$G$20=$A2),--(Scores!$H$2:$H$20>Scores!$F$2:$F$20))
C2:
=SUMPRODUCT(--(Scores!$E$2:$E$20=$A2),--(Scores!$F$2:$F$20<Scores!$H$2:$H$20))+SUMPRODUCT(--(Scores!$G$2:$G$20=$A2),--(Scores!$H$2:$H$20<Scores!$F$2:$F$20))
D2:
=SUMPRODUCT(--(Scores!$E$2:$E$20=$A2),--(Scores!$F$2:$F$20=Scores!$H$2:$H$20),--(Scores!$F$2:$F$20<>""))+SUMPRODUCT(--(Scores!$G$2:$G$20=$A2),--(Scores!$H$2:$H$20=Scores!$F$2:$F$20),--(Scores!$F$2:$F$20<>""))
E2:
=SUMIF(Scores!$E$2:$E$20,$A2,Scores!$F$2:$F$20)+SUMIF(Scores!$G$2:$G$20,$A2,Scores!$H$2:$H$20)
F2:
=SUMIF(Scores!$E$2:$E$20,$A2,Scores!$H$2:$H$20)+SUMIF(Scores!$G$2:$G$20,$A2,Scores!$F$2:$F$20)