Is there a formula which can capture information from from a rolling 12-month period?
I need to set up some cross-sheet formulas to capture how many machines we have installed over the past 12 months, broken down by each month - however I want this to be a rolling metric which only captures the information from the past 12 months - is this possible using a Smartsheet function, and if so please could you show an example as I am fairly new to formulas.
Many thanks!
Answers
-
You would need to incorporate the DATE function in the COUNTIFS similar to...
=COUNTIFS({Date Range}, IFERROR(DATE(YEAR(TODAY()), MONTH(TODAY()) - 1, 1), DATE(YEAR(TODAY()) - 1, MONTH(TODAY()) + 11, 1)))
The above will count for the previous month. To adjust it so that it will count for two months ago, yo would adjust the numbers following the MONTH functions (in bold) to be minus two and plus ten. Three months ago would be minus three and plus nine. So on and so forth.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 154 Industry Talk
- 504 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!