Countif..NOW()

  • Thread starter Thread starter ftjjk
  • Start date Start date
F

ftjjk

I have a list of dates and want to count the number of cells with date
that are today or earlier. I need the count to use in another formula
I was attempting to use the following formula:

=COUNTIF(A3:A201,A3:A201<=NOW())

Any help would be appreciated
 
The reason your formula was not working was because you have a sligh
misformat of your COUNTIF arguments. The correct syntax would be:

=COUNTIF(A3:A201,"<="&NOW())

You do not need to repeat your range reference in the 2nd argument an
you needed to reformat your criteria a bit to allow the concatenatio
of the NOW function to your <= operator.

Or just use the SUMPRODUCT forumla Frank provided. :)
 
Thank you everyone. I ended up using the formula from Janet as it wa
the shortest (only by three charcters) to add in to my larger formula.
Thanks again to all
 

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