countif month=

B

bobh727

I should have posted this in the New Users forum, but here it is. In a daily
log, I want to count all the log entries for a given month. The first entry
in the log is in a column headed "Date". We type in 10/14 and it comes out
14-Oct. I want to know how many entries in June or July or August or...
without manually counting. I am sure this is easy and I am missing the
obvious.
 
B

Bob Phillips

=SUMPRODUCT(--(TEXT(A1:A100,"mmm")="Jul"))

or

=SUMPRODUCT(--(MONTH(A1:A100)=7))
 

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

Top