PC Review


Reply
Thread Tools Rate Thread

adding times

 
 
rpt
Guest
Posts: n/a
 
      28th Oct 2003
please help, i need to add times greater than 9999:59 on my laptop
running xp on a spreadsheet



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

 
Reply With Quote
 
 
 
 
J.E. McGimpsey
Guest
Posts: n/a
 
      28th Oct 2003
Times in XL are stored as Fractional days (i.e., 03:00 = 0.125). So
you can continue to add times >9999:59, but you can't display them
in time format. You can get a decimal format by multiplying by 24,
e.g.:

A1: 9999:30
A2: 1:45
A3: =(A1 + A2) * 24 ===> 10001.25

Or you could display the colon format as text (though you won't be
able to use it as a number):

A3: =INT((A1+A2)*24) & right(text(mod(A1+A2,1),"h:mm"),3)


In article <(E-Mail Removed)>,
rpt <(E-Mail Removed)> wrote:

> please help, i need to add times greater than 9999:59 on my laptop
> running xp on a spreadsheet

 
Reply With Quote
 
Arvi Laanemets
Guest
Posts: n/a
 
      28th Oct 2003
Hi

You can display hours above 24, when you format the cell with custom format
"[h]", or "[h]:mm", etc.

To convert time to text in time format (it's about J.E. McGimpsey's second
formula) also exists a simpler solution
=TEXT(A1+2;"[h]:mm")

--
(When sending e-mail, use address (E-Mail Removed))
Arvi Laanemets


"J.E. McGimpsey" <(E-Mail Removed)> wrote in message
news:jemcgimpsey-(E-Mail Removed)...
> Times in XL are stored as Fractional days (i.e., 03:00 = 0.125). So
> you can continue to add times >9999:59, but you can't display them
> in time format. You can get a decimal format by multiplying by 24,
> e.g.:
>
> A1: 9999:30
> A2: 1:45
> A3: =(A1 + A2) * 24 ===> 10001.25
>
> Or you could display the colon format as text (though you won't be
> able to use it as a number):
>
> A3: =INT((A1+A2)*24) & right(text(mod(A1+A2,1),"h:mm"),3)
>
>
> In article <(E-Mail Removed)>,
> rpt <(E-Mail Removed)> wrote:
>
> > please help, i need to add times greater than 9999:59 on my laptop
> > running xp on a spreadsheet



 
Reply With Quote
 
J.E. McGimpsey
Guest
Posts: n/a
 
      28th Oct 2003
Thanks for the correction - I brain-dumped that the *display* can go
above 9999:59, even though the parser doesn't recognize *entries*
above 9999:59.

In article <(E-Mail Removed)>,
"Arvi Laanemets" <(E-Mail Removed)> wrote:

> To convert time to text in time format (it's about J.E. McGimpsey's second
> formula) also exists a simpler solution
> =TEXT(A1+2;"[h]:mm")

 
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
Adding times MBC Microsoft Excel Worksheet Functions 3 6th Oct 2008 08:54 PM
ADDING TIMES John C. Harris, MPA Microsoft Excel Worksheet Functions 5 9th Aug 2005 05:32 PM
Adding times =?Utf-8?B?Smlt?= Microsoft Excel Worksheet Functions 2 13th Jul 2005 03:22 AM
Adding Times up IainG Microsoft Excel Misc 3 22nd Oct 2004 09:35 PM
adding times, again! laurieg Microsoft Excel Worksheet Functions 0 5th Jul 2003 01:14 PM


Features
 

Advertising
 

Newsgroups
 


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