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))
-
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).
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 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!