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
- 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!