Criteria

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

Guest

I'm trying to do a countif function where my criteria is a date range, like
between 8/1/2007 and 8/31/2007.
Thanks for your help!
 
=COUNTIF(A2:A100,">="&DATE(2007,8,1))-COUNTIF(A2:A100,">"&DATE(2007,8,31))

or


=SUMPRODUCT(--(A2:A100>=DATE(2007,8,1)),--(A2:A100<=DATE(2007,8,31))



--


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