PC Review


Reply
Thread Tools Rate Thread

automatically format dates in a cell

 
 
Stephan Laska
Guest
Posts: n/a
 
      17th Jul 2006
Hi All,
when I type a date into a cell, it automatically converts it to a date-time
variable
and formats it according to the system parameters.

Is there any way I can turn this off? I don't want my date as a date time
variable,
nor do I want it to format to what the system format is.

thanks
stephan


 
Reply With Quote
 
 
 
 
JE McGimpsey
Guest
Posts: n/a
 
      17th Jul 2006
I'm not sure what a "date time variable" is, but if you want an XL date,
but in the format you specify, preformat the cells with that format.

If you don't want the date converted to an XL date at all, then
preformat the cells as Text. They will then be left in whatever format
you enter.

In article <(E-Mail Removed)>,
"Stephan Laska" <Ask & maybe I'll Tell> wrote:

> Hi All,
> when I type a date into a cell, it automatically converts it to a date-time
> variable
> and formats it according to the system parameters.
>
> Is there any way I can turn this off? I don't want my date as a date time
> variable,
> nor do I want it to format to what the system format is.
>
> thanks
> stephan

 
Reply With Quote
 
Stephan Laska
Guest
Posts: n/a
 
      17th Jul 2006
date-time variable is equivalent to a float
3:15PM 17 July 2006 is equivalent to 38914.6354166667,
which is the number of elapsed days since the stroke of
midnight on 31 Dec 1899

thanks for your help, but preformating doesn't help me.
I would like the autoformat turned off globally,
so it would leave whatever date or time I type alone as text



"JE McGimpsey" <(E-Mail Removed)> wrote in message
news:jemcgimpsey-(E-Mail Removed)...
> I'm not sure what a "date time variable" is, but if you want an XL date,
> but in the format you specify, preformat the cells with that format.
>
> If you don't want the date converted to an XL date at all, then
> preformat the cells as Text. They will then be left in whatever format
> you enter.
>
> In article <(E-Mail Removed)>,
> "Stephan Laska" <Ask & maybe I'll Tell> wrote:
>
>> Hi All,
>> when I type a date into a cell, it automatically converts it to a
>> date-time
>> variable
>> and formats it according to the system parameters.
>>
>> Is there any way I can turn this off? I don't want my date as a date time
>> variable,
>> nor do I want it to format to what the system format is.
>>
>> thanks
>> stephan



 
Reply With Quote
 
JE McGimpsey
Guest
Posts: n/a
 
      17th Jul 2006
XL doesn't work that way, unfortunately. Unless you preformat as text,
the parser gets first crack at the input, and will interpret it as a
date. Your input format is lost.

The alternative is to prefix all your entries with an apostrophe (')
which tells the parser that what follows is text.


In article <#(E-Mail Removed)>,
"Stephan Laska" <Ask & maybe I'll Tell> wrote:

> thanks for your help, but preformating doesn't help me.
> I would like the autoformat turned off globally,
> so it would leave whatever date or time I type alone as text

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically format charts with range of dates Sean Moor Microsoft Excel Charting 13 17th Jun 2008 02:24 PM
automatically format cell based on content of another cell =?Utf-8?B?Qmx1c3RyZWFrZXI=?= Microsoft Excel Worksheet Functions 2 15th Jul 2007 11:52 AM
stop dates format automatically excel 2002 =?Utf-8?B?SGFybWl0YWdl?= Microsoft Excel Misc 4 19th Apr 2006 11:53 AM
the dates on cell format make different dates. =?Utf-8?B?ZGF0ZSBmb3JtYXRzIG1vcnBoIHRoZSBkYXRlcy9j Microsoft Excel New Users 6 18th Apr 2005 02:41 AM
Excel: How do I enter a date in one cell & automatically dates adj =?Utf-8?B?U2hhbm5vbg==?= Microsoft Excel Misc 4 12th Jan 2005 12:51 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:13 PM.