Formula that will update the new Year dates
Looking for a formula that will automatically update my reporting dates to 2021. Start date is the first day of the month, end date is the last day of the month. Quarter dates are based on first day in January, last day in March, ect.
Answers
-
You could try something like this:
=DATE(YEAR(TODAY()), 1, 1)
For the start date, you'll just change the month number (the first 1). For the end date, you'll change the month and the day number to the last day of whatever month you're in (day number is the second 1). Come January 1, 2021, all the years should flip over from 2020 to 2021. Couple examples:
July 1 Start Date: =DATE(YEAR(TODAY()), 7, 1)
July 31 End Date: =DATE(YEAR(TODAY()), 7, 31)
Another way you can do this at the end of the year is to create a second column to add a year. Below is the formula for the second column. Then copy and paste just the values back into the start date and end date columns.
=DATE((YEAR([Start Date]@row) + 1) + MONTH([Start Date]@row), DAY([Start Date]@row))
=DATE((YEAR([End Date]@row) + 1) + MONTH([End Date]@row), DAY([End Date]@row))
The second method requires you to do it every year. The first method should update at the start of every year with any effort after setting it up.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 422 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!