SumIF and time. Going back to 1 when more than 24 hours are calculated

Joe D

New Member
Joined
Nov 19, 2010
Messages
9
Hello all. I have a spreadsheet that automatically calculates downtime based off of military time entered into two other columns on a corresponding tab. I use a SUMIF function below to come up with a total downtime for each server in all columns "E", and add the downtime together from all columns "D". Spreadsheet tab is called Incidents.

=SUMIF(Incidents!E:E,A53,Incidents!D:D)

It works great, but I am now discovering an issue that once a total accrued down time exceeds 24 hours, the total downtime calculated by my SUMIF is bringing the time down to 1. So, 24:53 of total downtime is being expressed as 1:53, which skews some subsequent columns that I have calculating uptime percentage.

Can anyone assist with being able to keep my downtime from reducing down to 1 after 24 hours is exceeded?

Thanks so much in Advance.

Joe d
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Joe

How have you formatted the cell with the formula in it?

If the result may exceed 24 hours you should format it as [h]:mm.
 
Last edited:
Upvote 0
Norie, God, I am guilty of classic overthinking! Thank you so much for the clarity. I got so wrapped up in the code that I didn't even think about the column format.

Thanks again!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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