COUNTIF and Today Formula - How to get this right?
We would like to count how many cases fall within the previous 8 days not including today. We currently have the formula setup as =COUNTIF({Range}, this is counting the current day all the way back to 7 days ago. Please let me know what the appropriate syntax would be. Thank you!
Best Answer
-
Hi Jonathan.
Try something using Countifs and include a <= as well.
=countifs({intake Tracking Range 1}, >=Today(-8),{intake Tracking Range 1}, <=Today(-1))
This should give you everything from 8 days ago through yesterday. Let me know if that works.
Answers
-
=COUNTIF({Intake Tracking Range 1}, >=TODAY(-7))
-
This what we currently have set up, it did not properly post in my original question. Thank you in advance.
-
Hi Jonathan.
Try something using Countifs and include a <= as well.
=countifs({intake Tracking Range 1}, >=Today(-8),{intake Tracking Range 1}, <=Today(-1))
This should give you everything from 8 days ago through yesterday. Let me know if that works.
-
It worked, thank you very much!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.7K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 468 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 64 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!