count by month

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a range of cells with dates (mm/dd/yy). I wish to count how many
entries I have in a monthly time period. i.e. how many insances do I have in
December 05?
 
If the dates are in column A, the count is =countif(a:a,">=" &
date(2005,12,1))-countif(a:a,">=" & date(2006,1,1)).
In words, count the number of entries dated Dec 05 or later, then subtract
the number dated Jan 06 or later. The net is those dated Dec 05.
--Bruce
 
=SUMPRODUCT(--(TEXT(A1:A1000,"mmmyy")="Dec05"))

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

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

Similar Threads

count 7
EXCEL COUNTING HELP 3
Change date format in Excel footer 2
counting multiple dates in a range 1
Criteria For SU<IF 5
Counting Dates 6
countifs with multiple dates 2
Date Format 2

Back
Top