#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Excel hh:mm format

In some worksheets, a cell formatted hh:mm with a value of 24 will yield the
desired result - 24:00 (24 hours). As of today some worksheets are yielding
00:00 for the same value of 24, and in the formula bar, you can see that the
24 has been converted to 1/24/1900 12:00:00AM - the 24th day of the century.
How can this be corrected so that it will show 24 hours.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Excel hh:mm format

To get 24:00 displayed, you need a format of [hh]:mm, not hh:mm.

However, I doubt that's your problem. To get the results you are showing,
someone must have entered 24, as opposed to 24:00, which Excel interpreted
as 24 days, rather than 24 hours. Correct the data entry, and you should be
fine.

Regards,
Fred.

"The Mysterious J" wrote in
message ...
In some worksheets, a cell formatted hh:mm with a value of 24 will yield
the
desired result - 24:00 (24 hours). As of today some worksheets are
yielding
00:00 for the same value of 24, and in the formula bar, you can see that
the
24 has been converted to 1/24/1900 12:00:00AM - the 24th day of the
century.
How can this be corrected so that it will show 24 hours.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Excel hh:mm format

This still didn't quite work. Using format [hh]:mm and entering the value 24
still converted the 24 into 01/24/1900 12:00 a.m., only now the display shows
576:00 - because 24 days into the century meant 576 hours had passed. Is
there something else I should be changing to get the value 24 to show as 24
hours, and not 24 days?

"Fred Smith" wrote:

To get 24:00 displayed, you need a format of [hh]:mm, not hh:mm.

However, I doubt that's your problem. To get the results you are showing,
someone must have entered 24, as opposed to 24:00, which Excel interpreted
as 24 days, rather than 24 hours. Correct the data entry, and you should be
fine.

Regards,
Fred.

"The Mysterious J" wrote in
message ...
In some worksheets, a cell formatted hh:mm with a value of 24 will yield
the
desired result - 24:00 (24 hours). As of today some worksheets are
yielding
00:00 for the same value of 24, and in the formula bar, you can see that
the
24 has been converted to 1/24/1900 12:00:00AM - the 24th day of the
century.
How can this be corrected so that it will show 24 hours.



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 258
Default Excel hh:mm format

J --

I think the previous answer may have addressed the problem -- if you're
entering '24', that's the issue. You should be entering '24:00'. Does that
fix it?

HTH

"The Mysterious J" wrote:

This still didn't quite work. Using format [hh]:mm and entering the value 24
still converted the 24 into 01/24/1900 12:00 a.m., only now the display shows
576:00 - because 24 days into the century meant 576 hours had passed. Is
there something else I should be changing to get the value 24 to show as 24
hours, and not 24 days?

"Fred Smith" wrote:

To get 24:00 displayed, you need a format of [hh]:mm, not hh:mm.

However, I doubt that's your problem. To get the results you are showing,
someone must have entered 24, as opposed to 24:00, which Excel interpreted
as 24 days, rather than 24 hours. Correct the data entry, and you should be
fine.

Regards,
Fred.

"The Mysterious J" wrote in
message ...
In some worksheets, a cell formatted hh:mm with a value of 24 will yield
the
desired result - 24:00 (24 hours). As of today some worksheets are
yielding
00:00 for the same value of 24, and in the formula bar, you can see that
the
24 has been converted to 1/24/1900 12:00:00AM - the 24th day of the
century.
How can this be corrected so that it will show 24 hours.



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Excel hh:mm format

No. As you found out, Excel interprets 24 as 24 days. For Excel to recognize
an entry as a time, you must include a colon. Your choices a

1. Enter the colon.
2. Divide the entry by 24 (the number of hours in a day)
3. Write a macro which converts 24 days into 24 hours.

Regards,
Fred.

"The Mysterious J" wrote in
message ...
This still didn't quite work. Using format [hh]:mm and entering the value
24
still converted the 24 into 01/24/1900 12:00 a.m., only now the display
shows
576:00 - because 24 days into the century meant 576 hours had passed. Is
there something else I should be changing to get the value 24 to show as
24
hours, and not 24 days?

"Fred Smith" wrote:

To get 24:00 displayed, you need a format of [hh]:mm, not hh:mm.

However, I doubt that's your problem. To get the results you are showing,
someone must have entered 24, as opposed to 24:00, which Excel
interpreted
as 24 days, rather than 24 hours. Correct the data entry, and you should
be
fine.

Regards,
Fred.

"The Mysterious J" wrote in
message ...
In some worksheets, a cell formatted hh:mm with a value of 24 will
yield
the
desired result - 24:00 (24 hours). As of today some worksheets are
yielding
00:00 for the same value of 24, and in the formula bar, you can see
that
the
24 has been converted to 1/24/1900 12:00:00AM - the 24th day of the
century.
How can this be corrected so that it will show 24 hours.






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Excel hh:mm format

Perfect! Thank you. It also makes sense why we just ran into this problem now
- most of our services are in minutes (0:60, 0:15, 0:45, 1:30, et cetera).
This only came up because it was for inpatient services, which are 24-hour
services. I'll pass it on to my team.

"Fred Smith" wrote:

No. As you found out, Excel interprets 24 as 24 days. For Excel to recognize
an entry as a time, you must include a colon. Your choices a

1. Enter the colon.
2. Divide the entry by 24 (the number of hours in a day)
3. Write a macro which converts 24 days into 24 hours.

Regards,
Fred.

"The Mysterious J" wrote in
message ...
This still didn't quite work. Using format [hh]:mm and entering the value
24
still converted the 24 into 01/24/1900 12:00 a.m., only now the display
shows
576:00 - because 24 days into the century meant 576 hours had passed. Is
there something else I should be changing to get the value 24 to show as
24
hours, and not 24 days?

"Fred Smith" wrote:

To get 24:00 displayed, you need a format of [hh]:mm, not hh:mm.

However, I doubt that's your problem. To get the results you are showing,
someone must have entered 24, as opposed to 24:00, which Excel
interpreted
as 24 days, rather than 24 hours. Correct the data entry, and you should
be
fine.

Regards,
Fred.

"The Mysterious J" wrote in
message ...
In some worksheets, a cell formatted hh:mm with a value of 24 will
yield
the
desired result - 24:00 (24 hours). As of today some worksheets are
yielding
00:00 for the same value of 24, and in the formula bar, you can see
that
the
24 has been converted to 1/24/1900 12:00:00AM - the 24th day of the
century.
How can this be corrected so that it will show 24 hours.




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Excel hh:mm format PLEASE HELP!!!

Hello, I've just read your post wanting to know how to insert various 24hr
times in hours & minutes.
I need to record in excel a start time a finish time & the difference ( hrs
worked). I see your problem was solved but for the life of me I don't
understand the solution. I'd be ever so grateful if you help me or even
better send me a copy of a basic spreadsheet.
My email address is:
Thanks ever so much in advance for any help you can give me.

"The Mysterious J" wrote:

Perfect! Thank you. It also makes sense why we just ran into this problem now
- most of our services are in minutes (0:60, 0:15, 0:45, 1:30, et cetera).
This only came up because it was for inpatient services, which are 24-hour
services. I'll pass it on to my team.

"Fred Smith" wrote:

No. As you found out, Excel interprets 24 as 24 days. For Excel to recognize
an entry as a time, you must include a colon. Your choices a

1. Enter the colon.
2. Divide the entry by 24 (the number of hours in a day)
3. Write a macro which converts 24 days into 24 hours.

Regards,
Fred.

"The Mysterious J" wrote in
message ...
This still didn't quite work. Using format [hh]:mm and entering the value
24
still converted the 24 into 01/24/1900 12:00 a.m., only now the display
shows
576:00 - because 24 days into the century meant 576 hours had passed. Is
there something else I should be changing to get the value 24 to show as
24
hours, and not 24 days?

"Fred Smith" wrote:

To get 24:00 displayed, you need a format of [hh]:mm, not hh:mm.

However, I doubt that's your problem. To get the results you are showing,
someone must have entered 24, as opposed to 24:00, which Excel
interpreted
as 24 days, rather than 24 hours. Correct the data entry, and you should
be
fine.

Regards,
Fred.

"The Mysterious J" wrote in
message ...
In some worksheets, a cell formatted hh:mm with a value of 24 will
yield
the
desired result - 24:00 (24 hours). As of today some worksheets are
yielding
00:00 for the same value of 24, and in the formula bar, you can see
that
the
24 has been converted to 1/24/1900 12:00:00AM - the 24th day of the
century.
How can this be corrected so that it will show 24 hours.




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
How to format cells in Excel 2007 (i.e. currency format)? DonR Excel Discussion (Misc queries) 2 May 25th 08 11:16 PM
Convert Excel 2007 format (*.xlsx) into Excel 2003 format JD Moss Excel Discussion (Misc queries) 2 September 27th 07 06:46 PM
Excel Auto-Format cell to email format Please Help Me Excel Discussion (Misc queries) 1 March 23rd 06 05:15 PM
How to covert picture excel format to editable excel format SANJUZ Excel Discussion (Misc queries) 1 January 8th 06 09:27 PM
how to format excel format to text format with separator "|" in s. azlan New Users to Excel 1 January 31st 05 12:57 PM


All times are GMT +1. The time now is 09:12 PM.

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"