Formula or Macro to change fromating from text to time

DarrenF

Board Regular
Joined
Jun 9, 2014
Messages
90
Hello,

I have cell J5 00:02:54 with text formatting that I'm trying to convert to time. Since the report is delivered to me in text, I’m unable to make any changes anddon’t have the ability to request to have the formatting changed. Is there a formula or macro that can convertit to time instead of text?

 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
Now I have one showing 04:10:13:48. It's Days, Hours, Minutes, Seconds. Not sure why anyone would do it this way, is it possible to break it down to Hours, Minutes, Seconds and convert to time?
 
Upvote 0
I tried =((MID(I100,1,2)*24+MID(I100,4,2))*60+MID(I100,7,2))*60+MID(I100,10,2) but not getting any results.
 
Upvote 0

Forum statistics

Threads
1,215,179
Messages
6,123,495
Members
449,100
Latest member
sktz

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