Try in B1 for January 2004.
=SUMPRODUCT((YEAR(A1:A10)=2004)*(MONTH(A1:A10)=1))
Does that help?
Steve
--
SteveG
------------------------------------------------------------------------
SteveG's Profile:
http://www.excelforum.com/member.php...fo&userid=7571
View this thread:
http://www.excelforum.com/showthread...hreadid=510290