+ Reply to Thread
Results 1 to 6 of 6

How to automatically update a formula based on current date

  1. #1
    Registered User
    Join Date
    05-06-2008
    Posts
    14

    How to automatically update a formula based on current date

    I'm trying to create a spreadsheet to keep track of repeat orders. Its set up so that you enter the start date and delivery interval and it calculates the date of next shipping and delivery based on a few variables. This all works fine but I can't figure out how to update the formulas once the date of next delivery has passed. Ideally I'd like it to work the next shipping and delivery date (which it does) but then when that shipping date has passed it automatically then calculates the next date. I've attached a copy of the spreadsheet and formulas I'm using but can't figure out to make this automatic update. Obviously If I manually change the start date every time the shipping date passes it would work out the next date but is there a way to do it automatically. Thanks in advance.

    Paul
    Attached Files Attached Files

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: How to automatically update a formula based on current date

    Have a look at the NOW() function. This will automatically update the date to your current system date
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: How to automatically update a formula based on current date

    what exactly needs to happen

    you have the
    Date Of First Delivery F3
    Order Interval (days) G3
    and in H you do the calculation

    What do you want to happen to your example when the date has passed

    you can use =today()
    to get todays date and test that against the delivery date
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Registered User
    Join Date
    05-06-2008
    Posts
    14

    Re: How to automatically update a formula based on current date

    Ok so lets say for example that the start date is 01/04/14 at 7 day interval it would show a next delivery date of 08/04/14. Once the 08/04/14 has passed the start date would update to 08/04/14 so that it then shows the next delivery date of 15/04/14 etc.

    Thanks

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,740

    Re: How to automatically update a formula based on current date

    i think you may need a macro to do that

  6. #6
    Registered User
    Join Date
    05-06-2008
    Posts
    14

    Re: How to automatically update a formula based on current date

    OK thanks. I've no experience of programming macros:-( would anyone be able to help with some code please?

+ 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. Need formula to update based on current day
    By drewforte1087 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-07-2013, 03:36 PM
  2. Automatically update graph range based on date in column
    By basalisbury in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-05-2012, 12:03 PM
  3. Formula based on current date.
    By Kdellicker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-11-2010, 11:12 AM
  4. [SOLVED] Can I automatically enter the current date or current time into a
    By Ben in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 10-19-2005, 11:05 AM
  5. Update current time automatically?
    By JENNYC in forum Excel General
    Replies: 4
    Last Post: 07-28-2005, 08:05 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