Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / March 2008

Tip: Looking for answers? Try searching our database.

Cumulative days roll-over

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John MacAllister - 28 Mar 2008 22:23 GMT
Hello.  I have a simple spreadsheet that tracks my running.  I enter the
miles run and elapsed time in two columns.  The format in the time column is
hh:mm:ss.  Two more columns track cumulative distance and cumulative time.  
The format used in the cumulative time cell is d hh:mm.  Once the total
cumulative time reaches 31 23:59, the next cell returns:
1 hh:mm instead of 32 hh:mm.  Am I doing something wrong?  Many thanks.
John
OssieMac - 28 Mar 2008 22:30 GMT
Format the cell as [h]:mm.

The square brackets around the h tell it to display the hours instead of
thinking it is the next day.

Go into number format->time->custom and enter the format as above.

Signature

Regards,

OssieMac

> Hello.  I have a simple spreadsheet that tracks my running.  I enter the
> miles run and elapsed time in two columns.  The format in the time column is
[quoted text clipped - 3 lines]
> 1 hh:mm instead of 32 hh:mm.  Am I doing something wrong?  Many thanks.
> John
OssieMac - 28 Mar 2008 22:41 GMT
Sorry. I initially misread your question. It is the days that you are having
a problem with not the hours.

Signature

Regards,

OssieMac

> Format the cell as [h]:mm.
>
[quoted text clipped - 10 lines]
> > 1 hh:mm instead of 32 hh:mm.  Am I doing something wrong?  Many thanks.
> > John
John MacAllister - 28 Mar 2008 22:41 GMT
OssieMac,
Very helpful, thanks.  Now, if I wanted to display the number of days, how
would you advise?
Thanks.
John

> Format the cell as [h]:mm.
>
[quoted text clipped - 10 lines]
> > 1 hh:mm instead of 32 hh:mm.  Am I doing something wrong?  Many thanks.
> > John
Fred Smith - 29 Mar 2008 01:48 GMT
Unfortunately, Excel does not support a format of [dd] the way it does [hh].
You will need to split the cell.

=int(celladdress) will give you just the days -- format it as general.
Format the other cell as hh:mm

Regards,
Fred.

> OssieMac,
> Very helpful, thanks.  Now, if I wanted to display the number of days, how
[quoted text clipped - 19 lines]
>> > 1 hh:mm instead of 32 hh:mm.  Am I doing something wrong?  Many thanks.
>> > John
OssieMac - 29 Mar 2008 04:51 GMT
Fred's post gave me another idea to display as dd hh:mm:ss

Assuming the the value is in cell B2 then the following formula will display
the result in the desired format. However, you will not be able to use it in
calculations; only as your displayed result because it is actually text.

=INT(B2) & " " & TEXT(B2,"hh:mm:ss")

You can perform all your calculations as you have been doing them and
perhaps hide the column or row and use the column or row with the above
formula for the display of the results in the desired format.

Signature

Regards,

OssieMac

> Unfortunately, Excel does not support a format of [dd] the way it does [hh].
> You will need to split the cell.
[quoted text clipped - 28 lines]
> >> > 1 hh:mm instead of 32 hh:mm.  Am I doing something wrong?  Many thanks.
> >> > John
John MacAllister - 30 Mar 2008 01:31 GMT
Thanks!  I'll try it.
John

> Fred's post gave me another idea to display as dd hh:mm:ss
>
[quoted text clipped - 40 lines]
> > >> > 1 hh:mm instead of 32 hh:mm.  Am I doing something wrong?  Many thanks.
> > >> > John
John MacAllister - 30 Mar 2008 01:31 GMT
Thanks, Fred.  I appreciate the help.
John

> Unfortunately, Excel does not support a format of [dd] the way it does [hh].
> You will need to split the cell.
[quoted text clipped - 28 lines]
> >> > 1 hh:mm instead of 32 hh:mm.  Am I doing something wrong?  Many thanks.
> >> > John
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.