+ Reply to Thread
Results 1 to 4 of 4

Time Stamping a Cell Entry

  1. #1
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Time Stamping a Cell Entry

    I just saw this article, and learned a new trick! (see link at bottom of page for full article)


    The sheet produces a timestamp for a cell, using a formula similar to the one below :--

    =IF(C3="","",IF(C3="",D3,NOW()))

    Where c3 is the cell to timestamp and d3 is the cell containing this formula!

    for this to work Iterative calculation has to be turned on!
    But it will record the last change of the cell to the left and not change on re-calculation, only on re-entery!



    http://chandoo.org/wp/2009/06/25/tod...racking-tools/
    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Time Stamping a Cell Entry

    Hi squiggler, yes this is a well known trick and is very useful for people on Mac 2008 (and anyone else unable to support VBA), however, I think the references in the example are slightly awry, ie the formula resides in D3 and the entry to invoke the stamp is made in C3:

    D3: =IF(C3="","",IF(D3="",NOW(),D3))

    The only drawback of this approach when compared to say a classic VBA change event is that it is not updated with changes unless the source (C3) is first cleared, (ie a -> b -> c won't update the time stamp whereas a -> blank -> b -> blank -> c would do).

    The first formula listed:

    D3: =IF(C3="","",IF(C3="",D3,NOW()))

    will if C3 is not blank continuously update the datetime stamp in D3 every time XL recalculates.

  3. #3
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Time Stamping a Cell Entry

    Yes you are correct, I mistyped the formula!
    Last edited by squiggler47; 06-26-2009 at 03:15 AM.

  4. #4
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Time Stamping a Cell Entry

    Lol, I shouldnt learn new techniques

    Still I tried a few things, for a sheet I did, which it would be nice to track cell changes!

    Here is the result!
    Attached Files Attached Files

+ 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