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
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 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!