#1   Report Post  
Old November 30th 04, 07:05 PM
julie from Seattle
 
Posts: n/a
Default cell assumes wrong date

I want to format a cell for time. I want to type "0830" in a cell and have it
show 8:30 AM. So I format the cell accordingly. But when I type 0830 in the
cell I get "12:00 AM", and if I double click into the cell it shows "4/9/1902
12:00:00 AM". What can I do to have it not include a date...just a time?


  #2   Report Post  
Old November 30th 04, 07:51 PM
Peo Sjoblom
 
Posts: n/a
Default

You can't unless you use a macro, see:

http://www.cpearson.com/excel/DateTimeEntry.htm

One day is 1, one hour is 1/24 no formatting can change 830x24 hours into
08:30, you need the above macro


Regards,

Peo Sjoblom



"julie from Seattle" wrote:

I want to format a cell for time. I want to type "0830" in a cell and have it
show 8:30 AM. So I format the cell accordingly. But when I type 0830 in the
cell I get "12:00 AM", and if I double click into the cell it shows "4/9/1902
12:00:00 AM". What can I do to have it not include a date...just a time?



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
date format within a cell containing a formula Brushie76 Excel Discussion (Misc queries) 1 January 22nd 05 03:50 AM
Formula with text and reference to a date cell [email protected] Excel Discussion (Misc queries) 1 January 11th 05 08:15 AM
Addition to Turn cell red if today is greater or equal to date in cell Rich New Users to Excel 2 December 9th 04 02:06 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 02:48 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM


All times are GMT +1. The time now is 07:30 AM.

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

About Us

"It's about Microsoft Excel"

 

Copyright © 2017