HELP !! Convert 1d 00h 52m to h:mm:ss

Thuisgevoel

New Member
Joined
Jul 5, 2005
Messages
4
MS Excel 2002 sp3 on an winxpsp2 system

Ive been looking around in the forums in the hope to find a solution that would specifically help me solve my problem of converting this unuseable time issue to a useable one but sadly enough i havent found an understandable solution so im posting a request for help.

I am given in an excel 95 sheet (from an external database) data with time displayed in the format 1d 00h 52m (cell c3) with property values shown as [h]:mm:ss and would like to convert the visual value d:h:m to a visual value hh:mm:ss therefore saying that 1d 00h 52m wil become 24:52:00

Who can assist me! Anyone?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Try:

=LEFT(C3,FIND("d",C3)-1)+SUBSTITUTE(SUBSTITUTE(RIGHT(C3,LEN(C3)-FIND(" ",C3)),"m",""),"h ",":")

formatted as [hh]:mm:ss
 
Upvote 0
Andrew,

Thank you for your tip. I inserted the code after the language conversion and that seems to work. Except for the fact that what i was trying to reach was not written in my question. Regardless of that fact my thanks.
 
Upvote 0

Forum statistics

Threads
1,214,561
Messages
6,120,225
Members
448,951
Latest member
jennlynn

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