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.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!