I have periods of downtime per calendar month and I wish to calculate the total:
Outage Start | Outage End | Outage (mins) |
---|---|---|
05/10/2021 15:00 | 05/10/2021 18:00 | 180 |
06/10/2021 16:00 | 06/10/2021 18:00 | 120 |
06/10/2021 17:00 | 06/10/2021 19:00 | 120 |
07/10/2021 16:00 | 07/10/2021 18:00 | 120 |
25/10/2021 08:00 | 25/10/2021 09:32 | 92 |
Summing the last column gives 632, but this is inaccurate as the period of downtime specified by row 3 overlaps that specified by row 2. I need a formula which takes this into account and gives the correct answer of 572.