Time formatting in Excel 2003

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?
 
D

Dave Peterson

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.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top