Time formatting in Excel 2003

  • Thread starter Thread starter akg
  • Start date Start date
A

akg

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?
 
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.)
 
Back
Top