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
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!