Change the year of the date when the type of the column is date
Hi,
I want to create automation that sends alerts on the day before birthday dates for someone specific.
I create a birthday column that is defined as type date.
The problem is when the year is past, the year on the date does not update automatically and then I need to update the year.
How can I create a formula that updated the year automatically?
For example:
The date now is 11/4/2021, next year will update automatically to 11/4/2022.
I mention - In every row there is a different date.
Thanks in advance,
Ofek :)
Answers
-
If you have a column that records the date of birth, you can reference it in a formula similar to the one below to pull the next upcoming birthday.
=DATE(YEAR(TODAY()) + IF(TODAY() > DATE(YEAR(TODAY()), MONTH(DOB@row), DAY(DOB)@row)), 1), MONTH(DOB@row), DAY(DOB@row))
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thank you so much for helping me!
I thought maybe create one more column : the year is today's year and the day and month from the birthday column.
Do you think it will work?
-
That would work as well. The difference is that mine shows the next upcoming birthday whereas yours will show the birthday for the current year (even if it has passed).
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 304 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!