Tracking Downtime, Uptime (availability)

DedBob

New Member
Joined
Nov 9, 2010
Messages
2
Hello All

New to the board and mostly new to excel. :/

I've found many ways to calculate up time and down time. What my problem is that I need to track these over a peroid of a year in 1 month chunks.

What Ive got so far is;
Colums A & B contain unit Stop and Start Date & time
Ex: 11/2/2010 8:30

Column C subtracts A & B and is formatted Custom [h]:mm
No problems here.

Colum D my Uptime/Availability formula
=(Config!$N$5-(N4*24))/Config!$N$5*100
Where N5 = "=DAY(DATE(YEAR(M2),MONTH(M2)+1,0))*24"
[All of this by the way gleened from various sources on the internet.]

What this does is give me tracking for down time per row and the uptime.

But what it does is change the month each month which is what I wanted to start with. Now what I've been tasked with is to track each month over a year.
Can this be done with what I've got all on one sheet?
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
It sounds like you just want to summarise by summing up for each month. If that's so, then use a PivotTable, and put the Start Date as Row Labels, and afterwards Group them, and choose Month as the grouping.
 
Upvote 0
Yes the pivot table would work for summarization but the original data would change on the next month due to the month total hours changing.
I've divided up the months into 3 categories.
those with 31 days (744hrs) 30 days (720 hrs) and Feb 672 & 696 for leap year.

Can I use a formula to some how on a row basis get the correct hrs based on the date in column B (start date) to calculate the down time hrs in one column and the avaiability in another colum.

Or have I steped into the realm of scripting? :(

For example How do I tell excel on a row by row basis to:
If the date in Cell B4 is Jun or Sep or Nov then Calculate the availability using 720 else use 744 But if it's Feb use 672 unless it's leap year then use 696.
 
Last edited:
Upvote 0
Use the PivotTable to sum totals per month, and then build a reference table of the months to be reported, with the total hours per month, and use GETPIVOTDATA to fetch the results into the correct location in your table. You can do your calculations there, and even hide columns afterwards if you want your workings-out to be hidden.
 
Upvote 0

Forum statistics

Threads
1,214,566
Messages
6,120,262
Members
448,953
Latest member
Dutchie_1

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top