Summing duration in different formats

NickyClemo

New Member
Joined
Jun 24, 2013
Messages
2
Hi!

I'm a relative novice on excel but trying to do something fairly complicated with time (as a duration) which has got me completely stumped - would really appreciate any help people could give me.

I've copied and pasted my spreadsheet of data to help you see what my issues are. The data is copied and pasted from an xmls sheet and is used as raw data to populate other sheets in my work book. The problem I have is the way in which Excel deals with time. What I need to do is first extract only the data I want from this table into a clean work sheet i.e. I take only the date from column A and format Columns E and H into time (57:30:55 - US). I take all other information in the table (all columns A to H) as it is with no formatting changes etc.
Columns E and H are durations i.e. how long a process has been stopped for due to a specific fault.

I then have a third sheet which performs a SUMIF calculation to tell me how long the turbine has been stopped for in relation to each fault code (column B). To make this trickier column B contains spaces and I can't seem to find the right custom format to deal with this (raw data structure has just changed last month, previously columns B and C were in 1 column which made picking things up that much less fidly!). For a novice like me anyway!


As you can see at row 50 my problem comes when I have days, hours, minutes and seconds as custom formatting the cells to d.hh:mm:ss only goes so far to solving my problem.
What I need is a simple, repeatable process (I have to download data each quarter) that allows me to do some simple analysis and reduces the probability of carrying errors. I'm not greatly advanced on excel (trying to get work to stump up for a course) and neither is anyone else in my office so I need a spreadsheet that I understand and can therefore fix if anything goes wrong.


I don't mind having a few extra columns which I can then hide but the key for me is that this table is not modified in any way (the data I download each quarter is from the beginning of time each time), the second sheet allows me to get the data into the format and structure required to perform calculations with and the third spreadsheet allows me to analyse my data and create charts.


That's it in a nutshell, would be massively and eternally grateful to anyone who can find a simple and elegant solution to my problem!
Thank you!!

TimeStatusStatus textTTime diff.InformationInformation textTime diff.
16/05/2013 08:20:530 : 0Turbine operational1
16/05/2013 08:17:160 : 1Turbine starting100:03:37
16/05/2013 08:17:140 : 2Turbine operational100:00:02
16/05/2013 07:00:030 : 10Information / Warnings
16/05/2013 07:00:0258 : 1Fault lubrication system : Grease reservoir empty (90)00:00:01
16/05/2013 06:24:502 : 1Lack of wind : Wind speed to low101:52:24
16/05/2013 03:06:230 : 0Turbine operational103:18:27
16/05/2013 03:04:390 : 1Turbine starting100:01:44
16/05/2013 03:04:370 : 2Turbine operational100:00:02
16/05/2013 02:33:332 : 1Lack of wind : Wind speed to low100:31:04
16/05/2013 01:34:210 : 0Turbine operational100:59:12
16/05/2013 01:32:490 : 1Turbine starting100:01:32
16/05/2013 01:32:470 : 2Turbine operational100:00:02
16/05/2013 01:07:162 : 1Lack of wind : Wind speed to low100:25:31
15/05/2013 07:00:030 : 10Information / Warnings23:59:59
15/05/2013 07:00:0258 : 1Fault lubrication system : Grease reservoir empty (90)00:00:01
14/05/2013 07:00:020 : 10Information / Warnings1.00:00:00
14/05/2013 07:00:0258 : 1Fault lubrication system : Grease reservoir empty (90)00:00:00
13/05/2013 07:19:040 : 10Information / Warnings23:40:58
13/05/2013 07:19:0458 : 1Fault lubrication system : Grease reservoir empty (90)00:00:00
13/05/2013 07:19:020 : 000:00:02
13/05/2013 07:00:030 : 10Information / Warnings00:18:59
13/05/2013 07:00:0258 : 1Fault lubrication system : Grease reservoir empty (90)00:00:01
13/05/2013 00:03:030 : 10Information / Warnings06:56:59
13/05/2013 00:03:03232 : 102General information : Blade angle curve stored00:00:00
13/05/2013 00:03:000 : 10Information / Warnings00:00:03
13/05/2013 00:03:00232 : 101General information : Power curve stored00:00:00
12/05/2013 07:00:030 : 10Information / Warnings17:02:57
12/05/2013 07:00:0258 : 1Fault lubrication system : Grease reservoir empty (90)00:00:01
11/05/2013 07:55:450 : 10Information / Warnings23:04:17
11/05/2013 07:55:4558 : 1Fault lubrication system : Grease reservoir empty (90)00:00:00
11/05/2013 07:55:430 : 000:00:02
11/05/2013 07:00:010 : 10Information / Warnings00:55:42
11/05/2013 07:00:0158 : 1Fault lubrication system : Grease reservoir empty (90)00:00:00
10/05/2013 07:37:230 : 10Information / Warnings23:22:38
10/05/2013 07:37:2358 : 1Fault lubrication system : Grease reservoir empty (90)00:00:00
10/05/2013 07:37:220 : 000:00:01
10/05/2013 07:00:030 : 10Information / Warnings00:37:19
10/05/2013 07:00:0358 : 1Fault lubrication system : Grease reservoir empty (90)00:00:00
09/05/2013 07:00:030 : 10Information / Warnings1.00:00:00
09/05/2013 07:00:0258 : 1Fault lubrication system : Grease reservoir empty (90)00:00:01
08/05/2013 07:38:060 : 10Information / Warnings23:21:56
08/05/2013 07:38:0658 : 1Fault lubrication system : Grease reservoir empty (90)00:00:00
08/05/2013 07:38:020 : 000:00:04
08/05/2013 06:00:020 : 10Information / Warnings01:38:00
08/05/2013 06:00:0258 : 1Fault lubrication system : Grease reservoir empty (90)00:00:00
07/05/2013 19:09:000 : 0Turbine operational18.05:58:16
07/05/2013 19:06:370 : 1Turbine starting100:02:23
07/05/2013 19:06:350 : 2Turbine operational100:00:02
07/05/2013 18:30:562 : 1Lack of wind : Wind speed to low100:35:39
07/05/2013 18:27:210 : 1Turbine starting100:03:35
07/05/2013 18:27:190 : 2Turbine operational100:00:02
07/05/2013 18:02:112 : 1Lack of wind : Wind speed to low100:25:08
07/05/2013 06:00:020 : 10Information / Warnings1.00:00:00
07/05/2013 06:00:0258 : 1Fault lubrication system : Grease reservoir empty (90)00:00:00
06/05/2013 09:55:520 : 0Turbine operational11.08:06:19

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.

Forum statistics

Threads
1,215,026
Messages
6,122,743
Members
449,094
Latest member
dsharae57

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