#1   Report Post  
Marianne
 
Posts: n/a
Default Time Formating

I have created an excel spreadsheet to calculate hours worked. When entering
the start and end times, the formating automatically assumes an AM. So if I
type "5:00" the cell formats it as "05:00 AM". But if I want a PM hour
entered such as 5:00 PM, I have to enter the P. Is there some way to format
the "End Time" cells so that it assumes a PM, unless an AM is entered?

I would appreciate any suggestions.

Marianne Castrovince
  #2   Report Post  
Ron Rosenfeld
 
Posts: n/a
Default

On Mon, 8 Aug 2005 06:47:03 -0700, "Marianne"
wrote:

I have created an excel spreadsheet to calculate hours worked. When entering
the start and end times, the formating automatically assumes an AM. So if I
type "5:00" the cell formats it as "05:00 AM". But if I want a PM hour
entered such as 5:00 PM, I have to enter the P. Is there some way to format
the "End Time" cells so that it assumes a PM, unless an AM is entered?

I would appreciate any suggestions.

Marianne Castrovince


Formatting only affects how times are DISPLAYED. Formatting has NO effect on
how Excel parses entered time.

To enter 5:00 PM your options (without using VBA) include:

5:00 P
5:00 PM
5 P
(note the space after the number)

17:00


There may be other options, but I'm not certain.



--ron
  #3   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

Marianne,

No. You could use an event code, but then you would have to pre-format the cell as text to be able
to capture your actual input.

Or you could type the number as 17:00.

HTH,
Bernie
MS Excel MVP


"Marianne" wrote in message
...
I have created an excel spreadsheet to calculate hours worked. When entering
the start and end times, the formating automatically assumes an AM. So if I
type "5:00" the cell formats it as "05:00 AM". But if I want a PM hour
entered such as 5:00 PM, I have to enter the P. Is there some way to format
the "End Time" cells so that it assumes a PM, unless an AM is entered?

I would appreciate any suggestions.

Marianne Castrovince



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
Time Sheets smiller3128 New Users to Excel 1 August 4th 05 08:17 PM
change time formating just me Excel Discussion (Misc queries) 1 July 22nd 05 04:23 AM
formating military time LHaro Excel Discussion (Misc queries) 2 June 28th 05 07:46 PM
Time Sheets Lady Layla Excel Discussion (Misc queries) 1 March 23rd 05 03:22 PM
unmet challenge boris Excel Worksheet Functions 2 March 16th 05 02:13 PM


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

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"