I'm not sure I follow what you want but if you want the points for each game shown in column E for the Red team and column F for the Blue team, then
Column E : '=IF(B1>C1,3,IF(B1 < C1,0,1))
<c1,0,1))
<c1,0,1))
<c1,0,1))
<c1,0,1))
And a similar formula in column F, or alternatively : =IF(E1=1,1,3-E1)
If instead you want a UDF using Select Case, the syntax would be the same as for a macro.</c1,0,1))></c1,0,1))></c1,0,1))></c1,0,1))