Does this work for you?

In G22:

=SUMPRODUCT(--(INT(PlayedDates)=$E22),--(UserNames=G$21),Rating)

copied across the matrix.