How do I calculate within last 60 days?
I am trying to calculate a sum of numbers in a column within last 60 days for a report and a dashboard.
I am trying to use this formula but it is not returning anything accurate.
=COUNTIFS(Date:Date, <TODAY(-60), [Total count]:[Total count], 1)
Total count is the column that I set up to count if the other checkbox column has a yes checked or not, if its a yes, it returns 1.
So basically I need to count only if its a "1" in the total count column.
Answers
-
Try this:
=COUNTIFS(Date:Date, AND(@cell >= TODAY(), @cell < TODAY(-60)), [Total count]:[Total count], 1)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 361 Global Discussions
- 199 Industry Talk
- 427 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
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!