Rolling 12 month - need to mark line items in a sheet if they fall in the last 12 months
I have a detail sheet where we gather data as projects are closed. We want to be able to have reports and dashboards for the current year as well as the last 12 months. I have current year figured out without any issues, but I am struggling with how to filter for a Rolling 12 month period. I have created a Metrics Sheet to be able to identify which months are included in the rolling 12 months:
I need a formula that will lookup the month-year that is in the Rolling 12 month period and populate a check box (yellow column below).
This will allow me to run different queries and populate a table shown below for multiple reports and charts on the dashboards.
Answers
-
Try something like this:
=IF(OR(AND(MONTH([Date Column]@row)<= MONTH(TODAY()), YEAR([Date Column]@row) = YEAR(TODAY()), AND(MONTH([Date Column]@row> MONTH(TODAY()), YEAR([Date Column]@row) = YEAR(TODAY()) - 1)), 1)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!