, Good afternoon.
I do not understand well about games.
Check the new suggestion in the worksheet.
The complete formula meets your needs.
However, I do not know if it is possible, in terms of games, to perform the calculations based solely on the number of goals.
If this is possible simply use the second part of the complete formula and the new goal table created.
Please, tell us if it worked as you wish.
I hope I've helped.
Belo Horizonte, MG - Brasil