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
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 140 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!