Formula to return the first day of the month for the prior 13 months?
I'm building a rolling 13 month graph and I need a formula that will take today's date and provide me with the first day of the prior month, first day of 2 months ago, first day of 3 months ago, etc. so that I can then do a lookup from my master sheet to pull the right data from those respective months. The formula would go in the MM-YY column. Thanks!
Answers
-
I figured it out. Posting here in case it might help someone else: =IFERROR(DATE(YEAR([MM-YY]45), MONTH([MM-YY]45) - 1, 1), DATE(YEAR([MM-YY]45) - 1, MONTH([MM-YY]45) - 1 + 12, 1))
[MM-YY]45 is the "Current" date field 06/09/23 in the image above.
-
Hi @chapmandb
I hope you're well and safe!
Excellent! Glad you figured it out!
Be safe, and have a fantastic weekend!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Please support the Community by marking your post with the accepted answer/helpful. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.4K Get Help
- 424 Global Discussions
- 221 Industry Talk
- 464 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 144 Just for fun
- 61 Community Job Board
- 463 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!