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))
-
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))
-
That is great. Thanks!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!