L
lottaviano
My table lists pieces of equipment and the date/time they are taken
down for maintenance, and date/time maintenance is complete (put back
up to production). Sometimes these dates/times are within the same
WorkWeek, but sometimes a piece of equipment is down for multiple weeks
at a time. I need to calculate the % of time "up" per workweek.
For example, if a piece of equipment went down on Wednesday, June 7 and
was not back up until Wednesday, June 21 (2 weeks later), I need to
show that it was up roughly:
50% of WorkWeek 23
0% of WorkWeek 24
50% of WorkWeek 25
A few considerations:
1. What if the same piece of equipment goes down/up, then down again
in the same WorkWeek? The percent "up" needs to decrease accordingly.
2. What if a piece of equipment is not taken down at all. Can I
reflect 100% "up" without an entry in the table?
What else am I not thinking of? I have searched and searched these
groups and haven't found the exact solution I need.
Thanks,
Liana Ottaviano
Bend, Oregon
down for maintenance, and date/time maintenance is complete (put back
up to production). Sometimes these dates/times are within the same
WorkWeek, but sometimes a piece of equipment is down for multiple weeks
at a time. I need to calculate the % of time "up" per workweek.
For example, if a piece of equipment went down on Wednesday, June 7 and
was not back up until Wednesday, June 21 (2 weeks later), I need to
show that it was up roughly:
50% of WorkWeek 23
0% of WorkWeek 24
50% of WorkWeek 25
A few considerations:
1. What if the same piece of equipment goes down/up, then down again
in the same WorkWeek? The percent "up" needs to decrease accordingly.
2. What if a piece of equipment is not taken down at all. Can I
reflect 100% "up" without an entry in the table?
What else am I not thinking of? I have searched and searched these
groups and haven't found the exact solution I need.
Thanks,
Liana Ottaviano
Bend, Oregon