Counting data for month and year

  • Thread starter Thread starter ahkasiv
  • Start date Start date
A

ahkasiv

I've looked at the multiple threads and can't seem to figure out how to count
the number of cells that have values within a date range. For example, how
many cells in A2:A76 have a value within July 08? I have found how to do it
for the month but how about the year?
 
=COUNTIF(A2:A76,"<"&DATEVALUE("8/1/2008"))-COUNTIF(A2:A76,"<"&DATEVALUE("7/1/2008"))
 
Thanks! I made one slight change--< to > in <"&DATEVALUE("7/1/2008").

Any idea how I can autofill this formula without too much maintenance.

Thanks again!
 

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


Back
Top