+ Reply to Thread
Results 1 to 5 of 5

Return cuurent time when another cell is updated

  1. #1
    Registered User
    Join Date
    01-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Return cuurent time when another cell is updated

    I have a unsolved issue with this problem:

    There is a table with a lot of data, and some of them we change couple of times. I want to have a cell(s) where I can get the time (hh:mm:ss) when that cell was filled with data (this cell is empty). (Exp: A1 is empty. At 07:25:33 I entered a data in A1. I want to have this time (07:25:33) at B1 cell. Before I print this report (last update Exp: 15:20:25) i will have a cell (C1) where I will use =Now() and I will got 15:20:25. My point is to have, at D1, how much time I was working on this sheet D1:=C1-B1!

    I need a help with this!

    Thanks

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,349

    Re: Return cuurent time when another cell is updated

    You could do this with a Worksheet Change event macro. Do you want a VBA solution?


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2504
    Posts
    13,620

    Re: Return cuurent time when another cell is updated

    Cross post
    http://www.msofficeforums.com/excel/...l-updated.html

    Also duplicate

    http://www.excelforum.com/excel-misc...37#post2687437
    Last edited by Pepe Le Mokko; 01-20-2012 at 01:31 PM.

  4. #4
    Registered User
    Join Date
    01-17-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: Return cuurent time when another cell is updated

    SOLVED....

    B1=IF(A1<>"",IF(B1="",NOW(),B1),"")

    Thanks friends, .. from all Excel forums on internet!

  5. #5
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Return cuurent time when another cell is updated

    Don't bother posting again until you have read the Forum Rules
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

+ 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