Try:

=SUMPRODUCT(--(TEXT($A$2:$A$14,"mmmyy")=TEXT(E1,"mmmyy")))

this is for month and year match