View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
Ron Coderre
 
Posts: n/a
Default Need help with a date calculation


Try something like this:

If only the month is significant:
=SUMPRODUCT(ISNUMBER(A1:A10)*(MONTH(A1:A10)=1))

If the month and year are significant:
=SUMPRODUCT(ISNUMBER(A1:A10)*(MONTH(A1:A10)=1)*(YE AR(A1:A10)=2006))


Does that help?

Regards,
Ron


--
Ron Coderre
------------------------------------------------------------------------
Ron Coderre's Profile: http://www.excelforum.com/member.php...o&userid=21419
View this thread: http://www.excelforum.com/showthread...hreadid=510159