COUNTIF problem with NOW()
Nel post
*Spreadsheet* ha scritto:
=COUNTIF(ALL!AC2:AC1000,"<NOW()-21")
This is the formula I'm using. I'm trying to determine how many dates
in column AC are more than three weeks ago. It's returning a 0 even
though it shouldn't. Can anyone see why? THanks.
Hi,
try this:
=COUNTIF(A2:A49,"<"&TODAY()-21)
in this case you should prefer TODAY instead of NOW, because you don't need
the time, just th day.
--
Hope I helped you.
Thanks in advance for your feedback.
Ciao
Franz Verga from Italy
|