Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
akg akg is offline
external usenet poster
 
Posts: 2
Default Time formatting in Excel 2003

How can I format a cell in Excel 2003 using 12-hour format but without
displaying AM/PM?
For example, for 1:00 in the afternoon (1:00 PM or 13:00), I would like to
display just " 1:00 " (without the quotation marks); not " 1:00 PM "; not "
13:00 ".
Is there a way to format the cell(s) to display time in this way?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Time formatting in Excel 2003

I don't think it's possible using a numberformat alone.

Can you use a different cell and a formula?

=LEFT(TEXT(A1,"hh:mm AM/PM"),5)
(with leading 0's.)

akg wrote:

How can I format a cell in Excel 2003 using 12-hour format but without
displaying AM/PM?
For example, for 1:00 in the afternoon (1:00 PM or 13:00), I would like to
display just " 1:00 " (without the quotation marks); not " 1:00 PM "; not "
13:00 ".
Is there a way to format the cell(s) to display time in this way?


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
akg akg is offline
external usenet poster
 
Posts: 2
Default Time formatting in Excel 2003

Works like a charm! Perfect!

Thank you Dave. --akg

"Dave Peterson" wrote:

I don't think it's possible using a numberformat alone.

Can you use a different cell and a formula?

=LEFT(TEXT(A1,"hh:mm AM/PM"),5)
(with leading 0's.)

akg wrote:

How can I format a cell in Excel 2003 using 12-hour format but without
displaying AM/PM?
For example, for 1:00 in the afternoon (1:00 PM or 13:00), I would like to
display just " 1:00 " (without the quotation marks); not " 1:00 PM "; not "
13:00 ".
Is there a way to format the cell(s) to display time in this way?



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
Formatting in Excel 2003 TamiL Excel Discussion (Misc queries) 1 April 14th 09 05:21 PM
Excel 2003 Time Calculation WR Cheng Excel Worksheet Functions 1 June 28th 07 12:33 AM
excel 2003 formatting prexford Excel Discussion (Misc queries) 2 June 29th 06 01:05 PM
How can I "RANK" time in Excel 2003? Michael Excel Worksheet Functions 7 October 7th 05 12:42 PM
Rounding time in excel (2003) Alan Excel Discussion (Misc queries) 3 January 11th 05 05:44 PM


All times are GMT +1. The time now is 02:45 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"