+ Reply to Thread
Results 1 to 3 of 3

calcluating difference in time

Hybrid View

kurt_n calcluating difference in time 02-13-2008, 02:31 AM
Mikeopolo Perhaps this will work: ... 02-13-2008, 04:58 AM
kurt_n thanks a lot Mike. I will... 02-13-2008, 07:32 AM
  1. #1
    Registered User
    Join Date
    02-13-2008
    Posts
    2

    calcluating difference in time

    Please someone help me with this.

    We are calculating the uptime/downtime of a system. we have the following data

    start time end time
    10:20 10:40
    10:30 10:50
    10:20 10:30

    The difference in first column is 20 minutes, 20 in 2nd line and 20 in third line.
    WE need to calcluate the total downtime for a week. in the above example, if we take the difference in all the tree, it should come to 60 minutes which is not true.
    Since the third row lies between duration of downtime of first row, it should be neglected. So the total downtime actually is 40 minutes including first and second row.
    I need to calculate this using a formula.
    Can anyone help me in this?

    Thanks in advance
    kurt

  2. #2
    Forum Contributor
    Join Date
    01-18-2005
    Location
    Auckland New Zealand
    MS-Off Ver
    Office Professional 2007
    Posts
    295
    Perhaps this will work:

    First sort the data on start and end columns.
    Then add column D as cumulative
    Then in these cells type:
    D2: =c2 (ie first row is always correct)
    D3: =IF(A3>=B2,C3,MAX(B3-B2,0))
    Copy D3 down to the end of the table.
    Add column D for the total for the period.

    Regards
    Mike

  3. #3
    Registered User
    Join Date
    02-13-2008
    Posts
    2
    thanks a lot Mike.
    I will try this and will let you know the result.

+ 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