So I am after some help with the table bellow, I'm trying to calculate how much time is lost per day due to incidents happening. The table on the top is the information we are given which includes start/finish times, duration and how much impact it had to business.
What I am trying to make is a formula to sit in that "Availability" column which will tell me the percentage of hours not impacted for the day. I was able to get the maths working for a single incident but I am not sure how to calculate it over an array. Any help would be incredible thanks.
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Start[/TD]
[TD]Finish[/TD]
[TD]Duration[/TD]
[TD]Weighting[/TD]
[TD]Impact[/TD]
[/TR]
[TR]
[TD]1/8/18 0:00
[/TD]
[TD]6/8/18 0:00[/TD]
[TD]120:00[/TD]
[TD]10%[/TD]
[TD]12:00[/TD]
[/TR]
[TR]
[TD]1/8/18 0:00[/TD]
[TD]3/8/18 0:00[/TD]
[TD]48:00[/TD]
[TD]10%[/TD]
[TD]4:48[/TD]
[/TR]
[TR]
[TD]1/8/18 0:00[/TD]
[TD]1/8/18 12:00[/TD]
[TD]12:00[/TD]
[TD]10%[/TD]
[TD]1:12[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Day[/TD]
[TD]Total Impact[/TD]
[TD]Availability[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/8/18[/TD]
[TD]6:00[/TD]
[TD]75%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2/8/18[/TD]
[TD]4:48[/TD]
[TD]80%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3/8/18[/TD]
[TD]2:24[/TD]
[TD]90%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4/8/18[/TD]
[TD]2:24[/TD]
[TD]90%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5/8/18[/TD]
[TD]2:24[/TD]
[TD]90%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6/8/18[/TD]
[TD]0:00[/TD]
[TD]100%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
What I am trying to make is a formula to sit in that "Availability" column which will tell me the percentage of hours not impacted for the day. I was able to get the maths working for a single incident but I am not sure how to calculate it over an array. Any help would be incredible thanks.
[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Start[/TD]
[TD]Finish[/TD]
[TD]Duration[/TD]
[TD]Weighting[/TD]
[TD]Impact[/TD]
[/TR]
[TR]
[TD]1/8/18 0:00
[/TD]
[TD]6/8/18 0:00[/TD]
[TD]120:00[/TD]
[TD]10%[/TD]
[TD]12:00[/TD]
[/TR]
[TR]
[TD]1/8/18 0:00[/TD]
[TD]3/8/18 0:00[/TD]
[TD]48:00[/TD]
[TD]10%[/TD]
[TD]4:48[/TD]
[/TR]
[TR]
[TD]1/8/18 0:00[/TD]
[TD]1/8/18 12:00[/TD]
[TD]12:00[/TD]
[TD]10%[/TD]
[TD]1:12[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Day[/TD]
[TD]Total Impact[/TD]
[TD]Availability[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1/8/18[/TD]
[TD]6:00[/TD]
[TD]75%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2/8/18[/TD]
[TD]4:48[/TD]
[TD]80%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3/8/18[/TD]
[TD]2:24[/TD]
[TD]90%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4/8/18[/TD]
[TD]2:24[/TD]
[TD]90%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5/8/18[/TD]
[TD]2:24[/TD]
[TD]90%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6/8/18[/TD]
[TD]0:00[/TD]
[TD]100%[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]