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

G

Guest

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
 
J

JE McGimpsey

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top