Rolling count for last 365 days
Hi All,
I am very new to Smart Sheet and hope you can help. I would like to keep a count of entries into 7 columns (one per employee) for the last 365 days. The count will update each day to only reflect the last 365 days. The entries will simply be the number 1 in a column if that day should be counted for the employee. So basically for the screen shot attached (assuming the dat column continues to end of 2021) I would like to know how many 1's are in the 7 named columns for the last 365 days from the current day. I have looked at COUNTIF and TODAY-365 but to be honest am stuck. Any help appreciated.
Best Answers
-
What if you used a formula to keep the dates rolling and then used a SUM function on the number columns?
Or did you need the dates to remain static to track historical data?
To use the static dates, you would want something such as...
=SUMIFS(Tom:Tom, [2020]:[2020], @cell >= TODAY(-365))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
That is great. Thanks!
Answers
-
What if you used a formula to keep the dates rolling and then used a SUM function on the number columns?
Or did you need the dates to remain static to track historical data?
To use the static dates, you would want something such as...
=SUMIFS(Tom:Tom, [2020]:[2020], @cell >= TODAY(-365))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
That is great. Thanks!
-
Happy to help. 👍️
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!