#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 72
Default Display time format

I'm making a schedule where I am calculating time differences between cells.
In order to have the difference calculated correctly, I need to us h:mm AM/PM
or h:mm on 24 hour clock.

I need to display on the spreadsheet the 12 hour clock value without the
AM/PM being displayed in the field.

Is there a way to either:

1. Use the 12 hour clock format without the AM/PM showing

or

2. Use the 24 hour clock, but have the display convert to 12 hour without
the AM/PM?

Thank you,
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 611
Default Display time format

Shane,

The AM/PM is a display-only issue, controlled by the cell formatting. Use Format - Cells -
Number - Date to change whether it shows the AM/PM part or not. Take a look at Format -
Cells - Number tab - Custom to see the format code in effect.

All times internally "know" if they're AM or PM, regardless of formatting (how they appear).
It's automatically a 24-hour clock. 3:00 AM is represented with a value of 0.125,
regardless of formatting. 3:00 PM is represented as 0.625.

Chip Pearson has a lot of info about how dates and times are handled in Excel.
www.cpearson.com.
--
Earl Kiosterud
www.smokeylake.com

Note: Top-posting has been the norm here.
Some folks prefer bottom-posting.
But if you bottom-post to a reply that's
already top-posted, the thread gets messy.
When in Rome...
-----------------------------------------------------------------------
"Shane" wrote in message
...
I'm making a schedule where I am calculating time differences between cells.
In order to have the difference calculated correctly, I need to us h:mm AM/PM
or h:mm on 24 hour clock.

I need to display on the spreadsheet the 12 hour clock value without the
AM/PM being displayed in the field.

Is there a way to either:

1. Use the 12 hour clock format without the AM/PM showing

or

2. Use the 24 hour clock, but have the display convert to 12 hour without
the AM/PM?

Thank you,



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
Round/Display (HR:MN:SEC) data in decimal HR format for Time C Nauj Solrac Excel Discussion (Misc queries) 6 March 26th 09 05:34 PM
How do I display time in a negative format? PCERM Excel Worksheet Functions 3 December 28th 05 01:58 PM
display no seconds in time format [h] Finolac Excel Discussion (Misc queries) 1 October 3rd 05 03:19 PM
I cannot get time format to display in a drop-down list Mighty Mike Excel Discussion (Misc queries) 0 February 1st 05 09:47 PM
entering numbers to display a time format Ian Williams/Eazygig Excel Discussion (Misc queries) 1 January 10th 05 11:57 AM


All times are GMT +1. The time now is 12:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"