Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Entering a time into excel

I am trying to enter a time in military time ie: 1500 for 3:00 PM. Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I don't
need a date stamp just the time for time cards. I would like the end result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Entering a time into excel

In order for Excel to recognize input as a time (as opposed to the number
1,500), you must enter a colon. You can enter 15:00, and it will be accepted
as 3:00 pm (regardless of the formatting). You can then format the cell as
hhmm, which will display the way you want.

Regards,
Fred

"Mike" wrote in message
...
I am trying to enter a time in military time ie: 1500 for 3:00 PM.
Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I
don't
need a date stamp just the time for time cards. I would like the end
result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default Entering a time into excel

In 2007.

Highlight and r click then format cell. Seelct time 01:30:55PM OK

Go into format cell again but this time select custom then hh:mm

"Mike" wrote:

I am trying to enter a time in military time ie: 1500 for 3:00 PM. Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I don't
need a date stamp just the time for time cards. I would like the end result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 96
Default Entering a time into excel

Ignore last message - doesn't work when I try it again. The first bit does
so you get hh mm ss. Will that do?

"Mike" wrote:

I am trying to enter a time in military time ie: 1500 for 3:00 PM. Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I don't
need a date stamp just the time for time cards. I would like the end result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,276
Default Entering a time into excel

hI,
right click on the cell, format cells, time, choose the option 1:30:55 PM,
then each time you enter 15:00 it will show as 3:00:00 PM

"Mike" wrote:

I am trying to enter a time in military time ie: 1500 for 3:00 PM. Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I don't
need a date stamp just the time for time cards. I would like the end result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike



  #6   Report Post  
Posted to microsoft.public.excel.misc
PJ PJ is offline
external usenet poster
 
Posts: 112
Default Entering a time into excel

Hi Mike

If you enter the 'miltary' time as 15:00 (i.e. with a colon between the
hours and minutes) and format the cell to show AM/PM time, this should do
what you want.

"Mike" wrote:

I am trying to enter a time in military time ie: 1500 for 3:00 PM. Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I don't
need a date stamp just the time for time cards. I would like the end result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Entering a time into excel

If the OP has put the number 1500 into the cell, changing the format of the
display will not change the stored number from 1500 to 15:00

If a range of numbers have already been stored, the best bet may be to put
the number 2400 into a spare cell, copy, then select the range of "times"
and do Edit/ Paste Special/ Divide, then format the cells as time to suit.
--
David Biddulph

"Arceedee" wrote in message
...
Ignore last message - doesn't work when I try it again. The first bit
does
so you get hh mm ss. Will that do?

"Mike" wrote:

I am trying to enter a time in military time ie: 1500 for 3:00 PM.
Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I
don't
need a date stamp just the time for time cards. I would like the end
result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Entering a time into excel

Ignore that suggestion; I was half asleep.
It would be OK for whole numbers of hours, but 1510 gets turned into 15:06.
I wondered why I hadn't thought of such a simple way in the past if it had
been that easy. :-(
--
David Biddulph

"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
If the OP has put the number 1500 into the cell, changing the format of
the display will not change the stored number from 1500 to 15:00

If a range of numbers have already been stored, the best bet may be to put
the number 2400 into a spare cell, copy, then select the range of "times"
and do Edit/ Paste Special/ Divide, then format the cells as time to suit.
--
David Biddulph

"Arceedee" wrote in message
...
Ignore last message - doesn't work when I try it again. The first bit
does
so you get hh mm ss. Will that do?

"Mike" wrote:

I am trying to enter a time in military time ie: 1500 for 3:00 PM.
Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I
don't
need a date stamp just the time for time cards. I would like the end
result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike





  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default Entering a time into excel

On Mon, 25 Jan 2010 08:41:02 -0800, Mike
wrote:

I am trying to enter a time in military time ie: 1500 for 3:00 PM. Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I don't
need a date stamp just the time for time cards. I would like the end result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike


Formatting for dates and times ONLY affects how the contents of the cell is
DISPLAYED. It does NOT affect how the input to that cell is parsed.

Excel stores dates/times as days and fractions of a day, with 1 = 1 Jan 1900.

So entering 1500 leads Excel to interpret that as the 1500th day since 1 Jan
1900, at 12 midnight. Or 8 Feb 1904 12:00 AM.

To have Excel interpret your entries as time, you will need to either
Use the colon separator (e.g. enter as 15:00)
use VBA event code,
or enter the times in one cell and use a different cell to display the
data.

Which would you prefer.
--ron
  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default Entering a time into excel

Thank you all that responded. In an effort to make data entry fast and
painless, we were looking for a way to eliminate the colon while still
achieving the same end result. I truly appreciate the time and effort
everyone took to help.

Mike

"Mike" wrote:

I am trying to enter a time in military time ie: 1500 for 3:00 PM. Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I don't
need a date stamp just the time for time cards. I would like the end result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike



  #11   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Entering a time into excel

The way would do it is to do the conversion in another cell (probably
adjacent column).

If 1500 is in A1, you can convert this to a time of 15:00 by:
=time(int(a1/100),mod(a1,100),0)

Regards,
Fred

"Mike" wrote in message
...
Thank you all that responded. In an effort to make data entry fast and
painless, we were looking for a way to eliminate the colon while still
achieving the same end result. I truly appreciate the time and effort
everyone took to help.

Mike

"Mike" wrote:

I am trying to enter a time in military time ie: 1500 for 3:00 PM.
Everytime
it puts 0:00. I have tried formatting the cell everyway possible. I
don't
need a date stamp just the time for time cards. I would like the end
result
to display standard time 3:00 PM. Any help would be greatly apreciated.

Thanks in advance.
Mike


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
Entering time C Excel Worksheet Functions 1 June 10th 09 05:10 PM
Entering TIME into excel... SooHunter Excel Worksheet Functions 2 February 7th 08 08:10 PM
In Excel: Time Entering Reno747 Excel Worksheet Functions 2 November 30th 07 09:29 PM
Entering time Chris Excel Discussion (Misc queries) 4 June 27th 07 04:50 AM
entering negative time values in excel dona Excel Discussion (Misc queries) 5 March 13th 06 08:23 AM


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