[h]:mm:ss conversion to number format

Sylphrena

New Member
Joined
Sep 2, 2014
Messages
13
I have a time duration column that I have set to [h]:mm:ss which is F2-E2, the start and end time. What would be the best way to get that duration into hours decimal form or into seconds. Essentially I need a column of a numbers format instead of date or time, linked excel sheets in access don't seem to recognize [h]:mm:ss. '=hour(G2)' doesn't work because the durations are more than 24 hours long.

Thanks in advance!
 

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
To get decimal hours try like this

=A1*24


What I have:
Wall Clock Time</SPAN>
12:19:08</SPAN>

=A2*24
295:39:12</SPAN>

<TBODY>
</TBODY><COLGROUP><COL></COLGROUP>


Sorry, not what I am looking for.

<TBODY>
</TBODY><COLGROUP><COL></COLGROUP>
 
Upvote 0
Ah, I see. Sorry I was thinking the number format didn't account for more than 24 hours, but in fact it does. Thanks!
 
Upvote 0

Forum statistics

Threads
1,214,634
Messages
6,120,659
Members
448,975
Latest member
sweeberry

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