COUNTIFS , based on previous days - not including current day
SkiPatrolScott
✭✭✭✭
my current formula is
=countifs(field:field, (@cell > TODAY() -7),….. or (@cell> TODAY(-7)…this comes back with a total that included today. Is there a way to count the seven days prior but not count the current day in the formula?
Answers
-
If I understand your question correctly, this should work:
=COUNTIFS(field:field, @cell < TODAY(), field:field, @cell >= TODAY(-7))
-
=COUNTIFS(Date:Date, @cell < TODAY (), Date:Date, @cell >= TODAY (-7)), Activity:Activity,@cell= "Violation")
The field name is Date
comes back #Unparseable
-
There is an extra closing paren, try this:
=COUNTIFS(Date:Date, @cell < TODAY (), Date:Date, @cell >= TODAY (-7), Activity:Activity, @cell = "Violation")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 460 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 461 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!