PC Review


Reply
Thread Tools Rate Thread

Convert Hrs:MM:SS to number of days

 
 
siva
Guest
Posts: n/a
 
      12th Jun 2010
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
 
Reply With Quote
 
 
 
 
Bernd P
Guest
Posts: n/a
 
      12th Jun 2010
On 12 Jun., 07:10, siva <00siv...@gmail.com> wrote:
> 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
 
Reply With Quote
 
James Ravenswood
Guest
Posts: n/a
 
      12th Jun 2010
On Jun 12, 2:10*am, siva <00siv...@gmail.com> wrote:
> 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
 
Reply With Quote
 
James Ravenswood
Guest
Posts: n/a
 
      12th Jun 2010
On Jun 12, 7:55*am, Ron Rosenfeld <r...@nospam.net> wrote:
> On Sat, 12 Jun 2010 04:05:48 -0700 (PDT), James Ravenswood
>
> <james.ravensw...@gmail.com> wrote:
> >On Jun 12, 2:10*am, siva <00siv...@gmail.com> wrote:
> >> 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

>
> 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) ?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert Number of Month to Number of days nsd Microsoft Excel Misc 4 28th Jan 2010 03:45 PM
how to convert number of days to months Jon Microsoft Excel Misc 3 23rd May 2008 04:24 PM
how do i convert a number of days to years, months & days? =?Utf-8?B?U2FmZXR5TGVu?= Microsoft Excel Misc 1 23rd Aug 2007 01:34 AM
how do I convert a number to number of years, months and days =?Utf-8?B?YmVjYXVzZQ==?= Microsoft Excel Worksheet Functions 2 12th Oct 2005 06:15 PM
convert dates to number of days =?Utf-8?B?bWlsazBz?= Microsoft Excel Worksheet Functions 2 28th Sep 2005 01:31 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:42 PM.