[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

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).

Sylphrena

New Member
Joined
Sep 2, 2014
Messages
13
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

Sylphrena

New Member
Joined
Sep 2, 2014
Messages
13
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,191,420
Messages
5,986,470
Members
440,031
Latest member
davidvillegasr

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
Top