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
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!