+ Reply to Thread
Results 1 to 4 of 4

Updating the countdown to renewal dates

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

    Updating the countdown to renewal dates

    In my worksheet in range D5:D10 I have 5 renewal dates. The date of the month is fixed , but the month itself should update with time. So as time goes by , 1st April will change to 1st May , 12th April will change to 12th May and so on.

    In G5:G10 I have a countdown which shows how many days remain from the current date until the dates in D are reached.

    Using Today() , what should happen is that G will reduce over time to 1 day left , and as the month changes from April to May in D , so G will respond by going back to 30 (31) days remaining.

    Correctly implemented , this should run perpetually with the renewal dates updating monthly and the countdowns responding accordingly.

    Unfortunately , I can't quite get the formula right in G to make this happen reliably. There is some event code and CF involved , but I'm not sure this impacts the core working of the formulas.

    I wonder if someone with fresh eyes could have a look at the formulas and code in the attached to see where I'm going wrong. Sample attached.

    Always grateful for any advice.

    Attached Files Attached Files
    Using Excel , Word and Access 2003 - For the whole of 2024

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,116

    Re: Updating the countdown to renewal dates

    What's wrong with a) the current formula and b)

    =D5-TODAY()

    I don't quite follow you.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,116

    Re: Updating the countdown to renewal dates

    Also:

    =IF(DAY(TODAY())>=1,DATE(YEAR(TODAY()),MONTH(TODAY())+1,1),DATE(YEAR(TODAY()),MONTH(TODAY()),1))

    since DAY(TODAY()) will ALWAYS be >=1 - why not just use:

    =DATE(YEAR(TODAY()),MONTH(TODAY())+1,1)
    varying the bit in red as previously.

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

    Re: Updating the countdown to renewal dates

    Glenn - thanks for getting back.

    Yes , I can see that in the formulas in D that

    Please Login or Register  to view this content.
    will always be >=1. I'll amend that. Thanks

    Beyond this , I've managed to find the issue with the formulas in G and eradicated the error messages.

    Grateful for your help.

    Last edited by CDandVinyl; 03-25-2023 at 12:27 PM.

+ 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] Google Sheets: Calculate Next Expiration/Renewal Dates
    By meanpb in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 7
    Last Post: 08-15-2021, 03:27 PM
  2. [SOLVED] Calculate Next Expiration/Renewal Dates
    By meanpb in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-10-2021, 01:35 AM
  3. [SOLVED] Calculate Visa Renewal Dates
    By NonStopLeo in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-17-2019, 03:14 AM
  4. Formula to track renewal dates
    By PNic in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-29-2016, 12:52 AM
  5. Creating bar chart in Excel with Renewal dates as the X-axis
    By jp470519 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-08-2014, 12:35 PM
  6. Replies: 7
    Last Post: 09-14-2014, 05:02 AM
  7. Calculating Renewal Dates
    By fasterthanyours in forum Excel General
    Replies: 2
    Last Post: 11-25-2010, 07:18 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