Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Comparing two times (HH:MM:SS)

Hello all,

I looking for some help in comparing two seperate times in excel. Thi
will be used to compare network down time to operation hours. I nee
help calculating the down time.

eg 1.

A1 Down from 07:00:00
A2 Restored at 08:00:00

A3 Open Hours 7:30:00
A4 Closed Hours 17:00:00

down time = 7:30:00 - 8:00:00 = 00:30:00

eg 2.

A1 Down from 05:00:00
A2 Retored ar 16:00:00

A3 Open Hours 07:30:00
A4 Close Hours 17:00:00

down time = 07:30:00 - 16:00:00 = 08:30:00


Any help would be appreciated.

Thank

Attachment filename: time calculation.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=40059
--
Message posted from http://www.ExcelForum.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,236
Default Comparing two times (HH:MM:SS)

I attempted something similar a few weeks back.

As it worked out, the time formula became a lot more complicated because we
were dealing strictly with time, not dates.
Ask yourself, can the downtime cross midnight. 23:00 - 02:30 appears to
end before it started.

http://groups.google.co.nz/groups?q=...280a%40phx.gbl

I've implemented a downtime application. I suspect though what you really
want to be reporting is uptime.

If you can guarantee that the downtime start and end times are after
eachother (and not like my example above), then you just use
min(downtime_end, closetime) - max(downtime_start, opentime)

Rob



"CopperNic " wrote in message
...
Hello all,

I looking for some help in comparing two seperate times in excel. This
will be used to compare network down time to operation hours. I need
help calculating the down time.

eg 1.

A1 Down from 07:00:00
A2 Restored at 08:00:00

A3 Open Hours 7:30:00
A4 Closed Hours 17:00:00

down time = 7:30:00 - 8:00:00 = 00:30:00

eg 2.

A1 Down from 05:00:00
A2 Retored ar 16:00:00

A3 Open Hours 07:30:00
A4 Close Hours 17:00:00

down time = 07:30:00 - 16:00:00 = 08:30:00


Any help would be appreciated.

Thanks

Attachment filename: time calculation.xls
Download attachment:

http://www.excelforum.com/attachment.php?postid=400599
---
Message posted from http://www.ExcelForum.com/



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Comparing times.. [email protected] Excel Worksheet Functions 1 November 25th 07 03:16 AM
Comparing two times changetires Excel Discussion (Misc queries) 2 July 26th 06 10:25 PM
Comparing Calculated Times Mike Excel Worksheet Functions 2 July 3rd 06 04:30 AM
Comparing Times Just Learning Excel Discussion (Misc queries) 4 August 19th 05 06:27 PM
Comparing Times trumpy81 New Users to Excel 2 June 29th 05 11:01 AM


All times are GMT +1. The time now is 02:34 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"