Counting occurrences of specific month

  • Thread starter Thread starter bpoland58
  • Start date Start date
B

bpoland58

I have a column oof dates and times (ex. 11/19/2007 1:50:00 PM). Is there any
way to count the number of times there is an entry for the month only. In
this example the month of Nov.
 
=SUMPRODUCT(--(ISNUMBER(A1:A20)),--(MONTH(A1:A20)=11))


if you get a value error then they are text and not numerical Excel dates


--


Regards,


Peo Sjoblom
 
Thanks That does it.

Peo Sjoblom said:
=SUMPRODUCT(--(ISNUMBER(A1:A20)),--(MONTH(A1:A20)=11))


if you get a value error then they are text and not numerical Excel dates


--


Regards,


Peo Sjoblom
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top