ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Convert dd:hr:mn:ss to Decimal number of hours (https://www.excelbanter.com/excel-discussion-misc-queries/139185-convert-dd-hr-mn-ss-decimal-number-hours.html)

Virginia

Convert dd:hr:mn:ss to Decimal number of hours
 
Hi all, can anyone help with how to convert days/hours/minutes/seconds of
time into a decimal number of hours.

I tried the INT command which I've used before for hours but it only
converts the hours in my original cell??

Thanks

JE McGimpsey

Convert dd:hr:mn:ss to Decimal number of hours
 
One way:

XL stores times as fractional days, so where A1 contains the dd:hh:mm:ss,

=A1*24

Format the cell as general or another number format.

In article ,
Virginia wrote:

Hi all, can anyone help with how to convert days/hours/minutes/seconds of
time into a decimal number of hours.

I tried the INT command which I've used before for hours but it only
converts the hours in my original cell??

Thanks



All times are GMT +1. The time now is 04:37 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com