Convert Hrs:MM:SS to number of days

S

siva

Hi All,

I would like to convert the duration into days... For example if i
have 56:32:48 (hrs:mm:ss), i would like to convert this into 2 days
8:32:48 or to any format which would describe this result. Thank you.

Cheers,sivaji
 
B

Bernd P

Hi All,

I would like to convert the duration into days... For example if i
have 56:32:48 (hrs:mm:ss), i would like to convert this into 2 days
8:32:48 or to any format which would describe this result. Thank you.

Cheers,sivaji

Hello,

=INT(A1)
will return number of days. You need to format this as number.

=MOD(A1,1)
will return the remainder.

Regards,
Bernd
 
J

James Ravenswood

Hi All,

I would like to convert the duration into days... For example if i
have 56:32:48 (hrs:mm:ss), i would like to convert this into 2 days
8:32:48 or to any format which would describe this result. Thank you.

Cheers,sivaji

An alternate approach is to simply change the format to:
d:hh:mm:ss
to display:
2:08:32:48
 
R

Ron Rosenfeld

An alternate approach is to simply change the format to:
d:hh:mm:ss
to display:
2:08:32:48

At least in 2007 and earlier, that will not work for more than 31
days.
 
J

James Ravenswood

At least in 2007 and earlier, that will not work for more than 31
days.

Facinating!
is there any way to enter 35.234567
and have display as:
35:02:57:47
just by formatting (that is without changing the underlying numerical
value) ?
 
R

Ron Rosenfeld

Facinating!
is there any way to enter 35.234567
and have display as:
35:02:57:47
just by formatting (that is without changing the underlying numerical
value) ?

Not that I am aware of.
 

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