Try
=SUMPRODUCT(--(A1:A5<>""),--(MONTH(A1:A5)=1),B1:B5)
Try
=SUMPRODUCT(--(A1:A5<>""),--(MONTH(A1:A5)=1),B1:B5)
____________________________________________
Nihil simul inventum est et perfectum
Abusus non tollit usum
Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
James Thurber