Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
kei
 
Posts: n/a
Default prevent 4/5 in a cell automatically transfer to a date format

I have a .csv file with some number like 4/5 (x/y), but when open in Excel,
it automatically transfer to a date, how to prevent this and preserve the
original format (x/y)? (In fact, even I type 4/5 in a cell, it will
automatically change to a Date, how to prevent it?)
I'm using Excel 2002 version

Thx!!
  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
either preformat the cell as 'Text' or enter this value with a leading
apostrophe. e.g.
'4/5

--
Regards
Frank Kabel
Frankfurt, Germany

"kei" schrieb im Newsbeitrag
...
I have a .csv file with some number like 4/5 (x/y), but when open in

Excel,
it automatically transfer to a date, how to prevent this and preserve

the
original format (x/y)? (In fact, even I type 4/5 in a cell, it will
automatically change to a Date, how to prevent it?)
I'm using Excel 2002 version

Thx!!


  #3   Report Post  
kei
 
Posts: n/a
Default

Thank for your reply!
How to preformat the cell as 'Text'?, I have try to new a sheet and set the
column format as 'Text' then open the .csv, but the 4/5 is still treated as
Date,
for solution 2 ('4/5), I afraid our user will not accept.

Thx!!

"Frank Kabel" wrote:

Hi
either preformat the cell as 'Text' or enter this value with a leading
apostrophe. e.g.
'4/5

--
Regards
Frank Kabel
Frankfurt, Germany

"kei" schrieb im Newsbeitrag
...
I have a .csv file with some number like 4/5 (x/y), but when open in

Excel,
it automatically transfer to a date, how to prevent this and preserve

the
original format (x/y)? (In fact, even I type 4/5 in a cell, it will
automatically change to a Date, how to prevent it?)
I'm using Excel 2002 version

Thx!!



  #4   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
in this case try to rename the *.csv file to a *.txt file and in the
import wizard defined this column as 'Text'

--
Regards
Frank Kabel
Frankfurt, Germany

"kei" schrieb im Newsbeitrag
...
Thank for your reply!
How to preformat the cell as 'Text'?, I have try to new a sheet and

set the
column format as 'Text' then open the .csv, but the 4/5 is still

treated as
Date,
for solution 2 ('4/5), I afraid our user will not accept.

Thx!!

"Frank Kabel" wrote:

Hi
either preformat the cell as 'Text' or enter this value with a

leading
apostrophe. e.g.
'4/5

--
Regards
Frank Kabel
Frankfurt, Germany

"kei" schrieb im Newsbeitrag
...
I have a .csv file with some number like 4/5 (x/y), but when open

in
Excel,
it automatically transfer to a date, how to prevent this and

preserve
the
original format (x/y)? (In fact, even I type 4/5 in a cell, it

will
automatically change to a Date, how to prevent it?)
I'm using Excel 2002 version

Thx!!




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
How do I add a date formula to a cell but hide the contents with . Emzy Wemzy Excel Discussion (Misc queries) 2 December 12th 04 01:48 PM
Problem with Date format from VBA code twig Excel Discussion (Misc queries) 3 December 7th 04 06:01 PM
Date on two lines using a custom cell format possible? .:mmac:. Excel Discussion (Misc queries) 5 December 4th 04 09:41 PM
How can I format a cell so date field only displays the Month? tk_2u Excel Discussion (Misc queries) 3 December 4th 04 12:54 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 02:15 AM.

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

About Us

"It's about Microsoft Excel"