+ Reply to Thread
Results 1 to 6 of 6

Static Time

  1. #1
    Registered User
    Join Date
    02-02-2010
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    62

    Static Time

    Hi Guys,

    I need to track the time taken by the user to update one application form.

    We are a using a excel with Col A B C D (Data, Start Time, End Time, Total Time Taken)

    When a user enters a number/string in Col A, thn in Col B the static current time should come and thn in Col C the current time should display, Col D the Diff of Col C and Col B

    Ex.

    A B C D
    123 Current Time Current Time C-B

    I have tried this for Col B +if(count(a1)>0,now(),""), it worked but the time is not static.....and need formula for Col C {Sumthng like "if Col B time is lesser than current time, then display current time, else blank" +if((b1)<now(),now(),"")}

    Please help.

    All your help will be much appreciated
    Pradeep M
    Last edited by pradeepdeepu_001; 09-19-2011 at 06:22 AM.

  2. #2
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Static Time

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-02-2010
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Static Time

    Bob,

    Thnx...but i have never used vba or macro and not sure how to implement this code........so req u to please help me with a formula to execute

  4. #4
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Static Time

    A formula won't do it, because if you add =NOW() into a cell it will continually update, that is, it will not be static.

  5. #5
    Registered User
    Join Date
    02-02-2010
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2007
    Posts
    62

    Re: Static Time

    Okay, thnx for clarification Bob
    Can u please help me how to run this code or command........I have copied the code u have mentioned and pasted it in a VBA editor.....thn wat to do next??

  6. #6
    Forum Expert Bob Phillips's Avatar
    Join Date
    09-03-2005
    Location
    Wessex
    MS-Off Ver
    Office 2003, 2010, 2013, 2016, 365
    Posts
    3,284

    Re: Static Time

    Put it in the worksheet code module, and enter a value in column A. You can then put your formula in D.

+ 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