Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Still have formula prob :o(

I still can't get it to work

I've got 12/12/2003 09:00 in once cell and 11/12/2003
09:00 in the other
When I take the second away from the first I get 00:00:00
when it should tell me that 24 hrs has elapsed.
:o(

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Still have formula prob :o(

Libby,

What number format are you using in the result cell. It should be
formatted as [hh]:mm:ss including the [] characters.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Libby" wrote in message
...
I still can't get it to work

I've got 12/12/2003 09:00 in once cell and 11/12/2003
09:00 in the other
When I take the second away from the first I get 00:00:00
when it should tell me that 24 hrs has elapsed.
:o(



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Still have formula prob :o(

FormatCellsCustom. In the Type box, enter something like [hh]:mm. The
square brackets tell Excel not to tip over at 24h

--

Kind Regards,

Niek Otten

Microsoft MVP - Excel

"Libby" wrote in message
...
I still can't get it to work

I've got 12/12/2003 09:00 in once cell and 11/12/2003
09:00 in the other
When I take the second away from the first I get 00:00:00
when it should tell me that 24 hrs has elapsed.
:o(



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Still have formula prob :o(

Yay thanks Chip!

I'd left out the []
How do they change the outcome though?

Libby
-----Original Message-----
Libby,

What number format are you using in the result cell. It

should be
formatted as [hh]:mm:ss including the [] characters.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Libby" wrote in

message
...
I still can't get it to work

I've got 12/12/2003 09:00 in once cell and 11/12/2003
09:00 in the other
When I take the second away from the first I get

00:00:00
when it should tell me that 24 hrs has elapsed.
:o(



.

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default Still have formula prob :o(

Libby,

When Excel displays times, it displays them as "time-of-day"
times, always between 00:00:00 and 23:59:59. The square brackets
[] indicate to Excel not to "roll over" the time at 24:00:00, so
a time of 36 hours, 30 minutes is displayed as 36:30 rather than
12:30.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com



"Libby" wrote in message
...
Yay thanks Chip!

I'd left out the []
How do they change the outcome though?

Libby
-----Original Message-----
Libby,

What number format are you using in the result cell. It

should be
formatted as [hh]:mm:ss including the [] characters.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"Libby" wrote in

message
...
I still can't get it to work

I've got 12/12/2003 09:00 in once cell and 11/12/2003
09:00 in the other
When I take the second away from the first I get

00:00:00
when it should tell me that 24 hrs has elapsed.
:o(



.





  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 96
Default Thanks everyone

:o)
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prob an easy one: How do i copy a formula EXACTLY as it is ant1983 Excel Worksheet Functions 9 November 27th 09 05:59 AM
Formula prob - or is it validation? suewho New Users to Excel 10 September 1st 08 04:50 PM
prob with dates in VBA dee Excel Discussion (Misc queries) 3 March 4th 08 02:19 PM
CSE Formula Prob pdberger Excel Worksheet Functions 4 February 16th 08 03:51 AM
A little help, prob simple to anyone else john_w100 New Users to Excel 5 June 17th 05 01:47 PM


All times are GMT +1. The time now is 08:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"