+ Reply to Thread
Results 1 to 4 of 4

Calculation of total time.

  1. #1
    Registered User
    Join Date
    06-13-2007
    Posts
    58

    Red face Calculation of total time.

    I need to calculate how much time an individual of my team devotes to a particular work. Thats why i have added 2 columns to my time-sheet, which records start time and end time of a particular work. I deduct start time from end time to calculate total time taken by that individual.

    Time format is 13:30:55

    The solution works fine when an individual starts work at 18:30:35 and finishes within 23:59:59. But if finishing time exceeds that time, we move to the next day. So the time recorded will be something like 01:20:25.

    My existing formula does not provide me the desired result.

    How to solve the problem

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Try

    =(B1-A1+(A1>B1))

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor
    Join Date
    03-23-2006
    Location
    Vancouver
    Posts
    114
    Quote Originally Posted by crapmind
    I need to calculate how much time an individual of my team devotes to a particular work. Thats why i have added 2 columns to my time-sheet, which records start time and end time of a particular work. I deduct start time from end time to calculate total time taken by that individual.

    Time format is 13:30:55

    The solution works fine when an individual starts work at 18:30:35 and finishes within 23:59:59. But if finishing time exceeds that time, we move to the next day. So the time recorded will be something like 01:20:25.

    My existing formula does not provide me the desired result.

    How to solve the problem
    Another way to deal with this would be to add 2 more columns, one for starting date, and one for ending date.

    Total time elapsed would then be calculated as Starting Date + Starting Time -(Ending Date + Ending Time)

    To display the result as hours and fractions of an hour, multiply by 24 and format the cell containing the result as "Number."
    Last edited by CaptainQuattro; 07-01-2007 at 03:54 PM.

  4. #4
    Registered User
    Join Date
    06-13-2007
    Posts
    58
    thanks a lot mod

+ 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