+ Reply to Thread
Results 1 to 8 of 8

TimeStamp

  1. #1
    Registered User
    Join Date
    12-25-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    8

    TimeStamp

    Dear All,

    Request you to help me on below matter.

    I have a file called "Task to do", in this file i want that whenver someone put his comments against task no. one column called "C" should reflect the timestamp (it means the moment someone enter "Done" or "Completed", the time stamp automatically refelects the time (Which should not be edited or should not be changed as & when someone opens the file or press F9, it should be automatically locked once time reflects) when someone entered his comment. this will give me clear picture that what time someone completed the task.

    Request you to kindly help on same.

    Regards,
    Aakash

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Require help regarding TimeStamp

    To be fully "automatic" would require the use of VBA. If that' OK, then:

    Please Login or Register  to view this content.
    How/Where to install the macro:

    1. Open up your workbook
    2. Get into VB Editor (Right-click on the sheet tab and select VIEW CODE)
    3. Copy and Paste in your code (given above)
    4. Get out of VBA (Press Alt+Q)
    5. Save as a macro-enabled workbook

    The macro is installed and ready to use.
    Last edited by JBeaucaire; 12-26-2011 at 07:32 PM. Reason: Added "Event" toggle, as per DonkeyOte's suggestion.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

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

    Re: Require help regarding TimeStamp

    Quote Originally Posted by JB
    To be fully "automatic" would require the use of VBA.
    Not sure I would quite agree with that assertion JB.

    You could in theory also enable Iterative Calculation (via Excel Options) and then, assuming entry is in Col B with stamp in C, apply the below:

    Please Login or Register  to view this content.
    Also, should you prefer to have the ability to clear the stamp in C when deleting contents from B you can re-order the test accordingly:

    Please Login or Register  to view this content.
    Iterative Calculation (to allow for Circular referencing) is generally ill advised however so think carefully before implementing.

    For a VBA approach I would be inclined to add an Events Toggle (with Error Handler) so as to avoid needlessly invoking the Event a second time.

  4. #4
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Require help regarding TimeStamp

    My apologies, I have 0% experience using iterations, if that works in this scenario. Hard to remember options you never use. My bad.


    I also added the event toggle as per your suggestions.

  5. #5
    Registered User
    Join Date
    12-25-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Require help regarding TimeStamp

    Dear JB & DOnkeyOte, Thanks a ton for the precious help. but 1 small query is that, if we put "now" formula, then the time keeps changing whenever someone saves the file & it will shows the current system time. so this way i won't be able to know that, what time my team member completed the task. i just want 1 small help that once timestamp reflects in first instance that shouldn't be changed ever (like we see in twitter or facebook). Request you to please help me on same.

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

    Re: Require help regarding TimeStamp

    Quote Originally Posted by AAKASH JAIN
    ...if we put "now" formula, then the time keeps changing whenever someone saves the file & it will shows the current system time.
    Have you actually tested the formula with Iterative calculation enabled ?

  7. #7
    Registered User
    Join Date
    12-25-2011
    Location
    Mumbai
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Require help regarding TimeStamp

    Hi Donkeyote, i have tried with now function but not much aware of Iterative calculation due to lack of expertise in excel. request you to please attach sample data file which can clear my understanding about formula.

    Thanks in advance.

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

    Re: TimeStamp

    Quote Originally Posted by AAKASH JAIN
    ...not much aware of Iterative calculation
    File Tab -> Options -> Formulas -> Enable Iterative Calculation (check) -> OK

+ 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