ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Still have formula prob :o( (https://www.excelbanter.com/excel-programming/285164-still-have-formula-prob-o.html)

libby

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(


Chip Pearson

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(




Niek Otten

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(




libby

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(



.


Chip Pearson

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(



.




libby

Thanks everyone
 
:o)


All times are GMT +1. The time now is 03:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com