+ Reply to Thread
Results 1 to 5 of 5

Respecting monthly anniversaries

  1. #1
    Forum Contributor
    Join Date
    01-18-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    641

    Respecting monthly anniversaries

    My worksheet needs to update the dates in D5:D10 to the next month once each date is reached. Presently , I'm using Today() to regulate this, but I'm having trouble with the logic of using this to update variant date criteria.

    So for cells with renewal dates on the 1st of the month , it should update to the 1st of the next month once reached. For those showing the 7th of the month it would wait until the 7th and update at that point. In other examples , 12th April becomes 12th May , 13th April becomes 13th May and so on.

    Cells G5:G10 show a countdown of days until the next renewal date is due.

    The exception in my worksheet is in D8 , which has a four-weekly cycle. I think this is working fine so no change needed with D8

    I wonder if someone could suggest a way of having each cell update to their monthly anniversaries.

    I've attached a sample file.

    Grateful for any help.

    Attached Files Attached Files
    Last edited by CDandVinyl; 03-26-2023 at 12:22 AM.
    Using Excel , Word and Access 2003 - For the whole of 2024

  2. #2
    Registered User
    Join Date
    03-01-2020
    Location
    Melbourne, Australia
    MS-Off Ver
    10
    Posts
    8

    Re: Respecting monthly anniversaries

    Hi,

    I think you need to use the EDATE formula.

    I placed the first date of interest in A1 (eg 2nd January 2023), then in D5 to have the next 2nd of each month returned enter:
    =IF(EDATE(A1,MONTH(TODAY())-MONTH(A1))-TODAY()<0,EDATE(A1,MONTH(TODAY())-MONTH(A1)+1),EDATE(A1,MONTH(TODAY())-MONTH(A1)))

    The if calculates if the date is already passed, in G5:
    =D5-TODAY()
    counts down the days.
    HTH
    Justin

  3. #3
    Forum Contributor
    Join Date
    01-18-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    641

    Re: Respecting monthly anniversaries

    JustinOz20 - thanks. I tried the formula as suggested , but it's giving #NAME? errors I'm afraid. It may be my version of XL , I can't be sure.


  4. #4
    Registered User
    Join Date
    03-01-2020
    Location
    Melbourne, Australia
    MS-Off Ver
    10
    Posts
    8

    Re: Respecting monthly anniversaries

    Not sure, but if you have the edate function you should be able to work it out. I did get a name error when I forgot to add the () brackets on the today() function.

  5. #5
    Forum Contributor
    Join Date
    01-18-2013
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    641

    Re: Respecting monthly anniversaries

    Thanks JustinOz20 - This is a great help.

+ 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. [SOLVED] List All Birthdays and Anniversaries in Calendar Months From Events Sheet
    By ynab in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-16-2020, 06:41 AM
  2. [SOLVED] Calculate Work Anniversaries (Every 5 Years) for Employees
    By bbarth in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-06-2018, 11:42 AM
  3. Holiday records working on individual anniversaries
    By marktc19 in forum Excel General
    Replies: 5
    Last Post: 12-14-2016, 10:59 AM
  4. [SOLVED] IF function not respecting conditions....
    By DawsonG in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-13-2015, 03:42 PM
  5. Pivot table not respecting relationship
    By wood923 in forum Excel General
    Replies: 8
    Last Post: 11-28-2014, 02:00 PM
  6. [SOLVED] Revolving Date Anniversaries (6 Month Intervals)
    By switzd0d in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-14-2014, 04:51 PM
  7. [SOLVED] Solver Not Respecting Constraints
    By Larry Curcio in forum Excel General
    Replies: 1
    Last Post: 12-29-2005, 05:50 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