+ Reply to Thread
Results 1 to 4 of 4

Timestamp/Date Formula

  1. #1
    Forum Contributor
    Join Date
    07-16-2008
    Location
    USA
    Posts
    142

    Timestamp/Date Formula

    I need a timestamp and/or date formula that will auto update when a cell is updated. For example, this formula will be on columnB referencing columnA. If A1 is updated, B1 will update automatically with the date when it was updated. This will happen every time A1 is updated. B2 will update when A2 is updated, etc.

    Is this possible?
    Last edited by mcmuney; 09-14-2010 at 06:53 PM. Reason: It's SOLVED! Thanks.

  2. #2
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Timestamp/Date Formula

    You would need to use VBA due to the fact that the TODAY() function is volatile and can change each time the worksheet recalculates.

    If you put this code in the worksheet module, it will update B-cells with the current date & time only when the adjacent A-cell is changed.

    Please Login or Register  to view this content.
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  3. #3
    Forum Contributor
    Join Date
    07-16-2008
    Location
    USA
    Posts
    142

    Re: Timestamp/Date Formula

    I added your VBA code and used "NOW()" formula on columnB. But it doesn't seem to work. When any cell is updated, the whole columnB updates.

    Am I doing something wrong?
    Last edited by shg; 09-14-2010 at 06:32 PM. Reason: deleted spurious quote

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Timestamp/Date Formula

    The code is used IN LIEU OF a formula in column B, and must go in the sheet module. Right-click on the sheet tab, select View Code, and paste the code in the windo that opens, then Alt+Q to close and return to Excel.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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