Thank you very much, that works perfectly.
I assume that I could substitute COUNTIF for SUM to populate the table below with number of wins, draws and losses?