Correcting the text format 00:14 to time format hh:dd:mm and giving total time as result

aria_1111

New Member
Joined
Jul 20, 2015
Messages
2
Hi,

Greetings!

I have to pull avaya cms report daily in csv format and then i import it to excel. when i do it, it shows the login hours and lunch breaks, comfort break, medical break taken in format 00:00. Entire sheet contains such numbers then.
Data imported is in this format on entire sheet

[TABLE="width: 260"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]dinner break[/TD]
[TD]lunch break[/TD]
[TD]comfort break[/TD]
[/TR]
[TR]
[TD]0:01[/TD]
[TD]21:00[/TD]
[TD]14:01
[/TD]
[/TR]
</tbody>[/TABLE]
---above data is in text format as improted in excel from csv file using text delimiters

Problem :to get total of all breaks i need to correct its format to proper time format hh:mm:ss. I tried using find "0:" and replace with "00:" but it changed the entire data and resulted incorrect data.

please tell me if there is any other way to get above mentioned breaks data (on excel sheet) in time format hh:mm:ss.

Also how can i get a total of these three breaks combining all hh:mm:ss.

result should be like
[TABLE="width: 324"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]dinner break[/TD]
[TD]lunch break[/TD]
[TD]comfort break[/TD]
[TD]total breaks[/TD]
[/TR]
[TR]
[TD="align: right"]0:00:01[/TD]
[TD="align: right"]0:21:00[/TD]
[TD="align: right"]1:14:01[/TD]
[TD="align: right"]1:35:02[/TD]
[/TR]
</tbody>[/TABLE]

Thanks
aria
 
Hi aria

I understand the dinner and lunch breaks, you have the value is in hours and minutes and it should be minutes and seconds, which is just divide by 60.

I don't understand, however, the comfort break, how do you get from 14:01 to 1:14:01? where does that 1 come from?
 
Upvote 0

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