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

  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    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!

    CERTIFIED SMARTSHEET PLATINUM PARTNER

    10xViz.com

  • 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?


  • Paul Newcome
    Paul Newcome ✭✭✭✭✭✭

    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!

    CERTIFIED SMARTSHEET PLATINUM PARTNER

    10xViz.com

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!