Convert to hours, minutes and seconds

jkitterm

New Member
Joined
Nov 2, 2017
Messages
12
I have a spreadsheet with the time someone has been in an application expressed as 128:23:44 or 128 hours, 23 minutes and 44 seconds
Unfortunately Excel is reading it as a date and time 1/5/1900 8:23:44 AM
I can't seem to find the right format so Excel understands it is 128 hours, 23 minutes and 44 seconds and not a date and time.
Can someone help me with this?
Ultimately I would like to be able to accurately separate out the hours, minutes and second in separate columns which I can currently do but only if the total time is less than 24 hours. (=HOUR(A1)
 
Which is exatly the same formula as I originally posted. ;)
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
I had the exact same question today and came across this thread.... For me I wanted a formula in a single cell to do the same. Looking at the post from 'jtakw' (this helped me greatly :) ) I condensed it down to a single formula:

Book1
AB
1Time in ApplicationConverted Time
2128:23:44462224
3^Formatted General
Sheet2
Cell Formulas
RangeFormula
B2B2=(HOUR(A2)+INT(A2)*24)*3600+MINUTE(A2)*60+SECOND(A2)



Hope this helps as well!
 
Upvote 0

Forum statistics

Threads
1,214,973
Messages
6,122,534
Members
449,088
Latest member
RandomExceller01

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