kumara_faith
Well-known Member
- Joined
- Aug 19, 2006
- Messages
- 953
- Office Version
- 365
Hi,
I have the following sheet that calculates the downtime in branches based on the specific operating hours everyday.
The downtime ahould only take into account during the operating hours and should exclude hours of downtime during non operating hours.
In the example above, the actual downtime during operating hours is 14 hours and 32 minutes. Although the downtime lasted from Feb 14 to Feb 16, the downtime hours that affected operating hours was 14 hours 32 minutes and not 36 hours and 8 minutes.
Is there anyway we could build a formula for this ?
Appreciate all the help.
I have the following sheet that calculates the downtime in branches based on the specific operating hours everyday.
Excel Workbook | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | |||
2 | * | * | Monday | Monday | Tuesday | Tuesday | Wednesday | Wednesday | Thursday | Thursday | Friday | Friday | Saturday | Saturday | Sunday | Sunday | * | ||||
3 | Start Date | Start Time | End Date | End Time | Start Time | End Time | Start Time | End Time | Start Time | End Time | Start Time | End Time | Start Time | End Time | Start Time | End Time | Start Time | End Time | Downtime | ||
4 | 2/14/2011 | 8.58 PM | 2/16/2011 | 9.06 AM | 9.30 AM | 10.30 PM | 9.30 AM | 10.30 PM | 9.30 AM | 10.30 PM | 9.30 AM | 10.30 PM | 9.30 AM | 11.00 PM | 9.30 AM | 11.00 PM | 9.30 AM | 10.30 PM | 36.08.00 | ||
Sheet1 |
The downtime ahould only take into account during the operating hours and should exclude hours of downtime during non operating hours.
In the example above, the actual downtime during operating hours is 14 hours and 32 minutes. Although the downtime lasted from Feb 14 to Feb 16, the downtime hours that affected operating hours was 14 hours 32 minutes and not 36 hours and 8 minutes.
Is there anyway we could build a formula for this ?
Appreciate all the help.