Hello all! Stuck on a problem.
I have a spreadsheet which contains information about when a website outage occurred. Each row is an outage incident.
I can calculate the total duration of the outage.
I have a "start of outage" and a "end of outage" timestamp, format 3/10/16 16:30:00.
With the two fields ('start time' and 'end time') formatted as a date/time, I can just subtract the columns to get my duration of the outage.
E.g.,
A2 (Start time) 3/10/16 16:30:00
B2 (End time) 3/10/16 17:30:00
C2 (Duration) 1:00:00 (=B2-A2)
I need to further categorize these outages into 2 groups:
1. Peak Hours: Defined as an outage occurring M-F 6am - 5pm.
2. Non Peak Hours: All other days/hours; M-F 5:01pm onward, and weekends (Sat & Sun).
I need to know: Of the total outage duration, which hours/minutes fall into "peak hours" and which fall into non-peak hours?
NOTE: An outage may occur over several days. For example, an outage could occur Friday at 4pm and last until Monday at 7am, so there would be 2 hours within the "peak hours" category/cell/column (Friday 4pm-5pm & Monday 6am-7am) and the remaining duration would fall into non-peak hours.
For example, an outage like this:
Outage 1
Start: 3/10/16 16:30:00
End: 3/10/16 17:30:00
Duration: 1:00:00
Would be further categorized to describe peak hours:
"Outage Duration, Peak Hours": 30 minutes (from 4:30 - 5pm)
"Outage Duration, Non-Peak Hours: 30 minutes (from 5pm - 5:30pm)
The problem is that I have no idea how to create these 2 "peak hours/non-peak hours" columns. Any advice input would be VERY much appreciated!
I have a spreadsheet which contains information about when a website outage occurred. Each row is an outage incident.
I can calculate the total duration of the outage.
I have a "start of outage" and a "end of outage" timestamp, format 3/10/16 16:30:00.
With the two fields ('start time' and 'end time') formatted as a date/time, I can just subtract the columns to get my duration of the outage.
E.g.,
A2 (Start time) 3/10/16 16:30:00
B2 (End time) 3/10/16 17:30:00
C2 (Duration) 1:00:00 (=B2-A2)
I need to further categorize these outages into 2 groups:
1. Peak Hours: Defined as an outage occurring M-F 6am - 5pm.
2. Non Peak Hours: All other days/hours; M-F 5:01pm onward, and weekends (Sat & Sun).
I need to know: Of the total outage duration, which hours/minutes fall into "peak hours" and which fall into non-peak hours?
NOTE: An outage may occur over several days. For example, an outage could occur Friday at 4pm and last until Monday at 7am, so there would be 2 hours within the "peak hours" category/cell/column (Friday 4pm-5pm & Monday 6am-7am) and the remaining duration would fall into non-peak hours.
For example, an outage like this:
Outage 1
Start: 3/10/16 16:30:00
End: 3/10/16 17:30:00
Duration: 1:00:00
Would be further categorized to describe peak hours:
"Outage Duration, Peak Hours": 30 minutes (from 4:30 - 5pm)
"Outage Duration, Non-Peak Hours: 30 minutes (from 5pm - 5:30pm)
The problem is that I have no idea how to create these 2 "peak hours/non-peak hours" columns. Any advice input would be VERY much appreciated!