+ Reply to Thread
Results 1 to 6 of 6

Excel Formula for Anniversary Date by Current Year

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-15-2015
    Location
    Orlando, FL
    MS-Off Ver
    Office Standard 2016
    Posts
    268

    Excel Formula for Anniversary Date by Current Year

    Hey everyone,

    Earlier I had help with an anniversary date, basically taking someones Month and Date of their work anniversary and setting the year to the current year. There is an additional step I'm trying to do, and trying to find out if its possible. Any guidance is greatly appreciated.

    P4 (Anniversary Date): January 29, 1996
    R4 (Current Year Anniversary): January 29, 2019 (using formula: DATE(YEAR(TODAY()),MONTH(P4),DAY(P4)) )

    Can we alter the R4 formula to show it once that date is active. For example, its not January 29, 2018 yet, so how can we alter the formula to make it show January 29, 2017. Once the current calendar dateis January 29, 2018, then the anniversary date would become this. Basically we are making a range from their anniversary date, to the current date. The problem with the current formula is the anniversary date has not arrived yet. This might be a confusing scenario here, so hope my explanation makes somewhat of sense.

    In short, the formula should always produce the current year's anniversary date, unless that date has not been reached. Then it would show the previous year (if possible).

  2. #2
    Forum Expert
    Join Date
    02-11-2014
    Location
    New York
    MS-Off Ver
    Excel 365 (Windows)
    Posts
    6,301

    Re: Excel Formula for Anniversary Date by Current Year

    I know you have marked this as solved, but if anybody else is interested:

    =IF(DATE(YEAR(TODAY()),MONTH(P4),DAY(P4))<=TODAY(),DATE(YEAR(TODAY()),MONTH(P4),DAY(P4)),DATE(YEAR(TODAY())-1,MONTH(P4),DAY(P4)))
    Bernie Deitrick
    Excel MVP 2000-2010

  3. #3
    Forum Expert
    Join Date
    12-11-2011
    Location
    Netherlands
    MS-Off Ver
    office 365
    Posts
    3,670

    Re: Excel Formula for Anniversary Date by Current Year

    How about this?
    Attached Files Attached Files
    Willem
    English is not my native language sorry for errors
    Please correct me if I'm completely wrong

  4. #4
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Excel Formula for Anniversary Date by Current Year

    Hi, to both!

    Another option could be:
    =EDATE(P4,12*(1+DATEDIF(P4,TODAY(),"y")))

    Blessings!

  5. #5
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,727

    Re: Excel Formula for Anniversary Date by Current Year

    Quote Originally Posted by johnmpl View Post
    =EDATE(P4,12*(1+DATEDIF(P4,TODAY(),"y")))
    Looks good.....but I believe the requirement is to show the previous year's date unless this year's has been reached, so you don't need to add 1, this should do it

    =EDATE(P4,12*DATEDIF(P4,TODAY(),"y"))
    Audere est facere

  6. #6
    Spammer
    Join Date
    01-08-2015
    Location
    Cali, Colombia
    MS-Off Ver
    365
    Posts
    302

    Re: Excel Formula for Anniversary Date by Current Year

    Quote Originally Posted by daddylonglegs View Post
    Looks good.....but I believe the requirement is to show the previous year's date unless this year's has been reached
    Yeah! You're right. I missread the OP requirement. Blessings!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Vacation tracking from an anniversary date from year to year
    By alejandra92963 in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 10-18-2021, 07:07 PM
  2. [SOLVED] Excel formula to take an anniversary date to current year
    By jharvey87 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-12-2018, 10:41 AM
  3. [SOLVED] Anniversary Dates for Newsletter Need formula to show new year anytime during month
    By scarames in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-03-2016, 01:11 PM
  4. [SOLVED] Count current year entries based on date and name formula
    By KK1234 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 06-05-2014, 08:09 PM
  5. Replies: 3
    Last Post: 09-04-2013, 10:49 AM
  6. [SOLVED] Keeping a date as current year, even though formula determines previous year
    By dropanddrive03 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-28-2013, 08:31 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1