SUMPRODUCT(--(YEAR(JOET2!$B$3:$B$4999)=2015),--(JOET2!$A$3:$A$4999)=8568)--(MONTH(JOET2!$E$3:$E$4999)=12)

This formula is not working as intended I want it to meet the year of 2015 the month of 12 and the group number of 8568 then tell me how many there are it should say zero but it says 1.

8568 07/25/16 5100 6650024 07
8568 09/19/16 5100 6660028 09

Yet this formula below has 0 for the count.

=SUMPRODUCT(--(YEAR(JOET2!$B$3:$B$4999)=2016),--(JOET2!$A$3:$A$4999)=8568)--(MONTH(JOET2!$E$3:$E$4999)=7)