Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 367
Default Is there a way to prevent Excel from automatically formatting data

If I open a CSV or Paste in certian types of text data, Excel will reformat
it based on what it thinks the data really is. I would like it to leave my
data alone unless I tell it to modify something.

For exmaple, if I type in notepad the text 1/23, and copy this and paste it
into a new spreadsheet, the result is 23-Jan ( depending on your date
settings. ) Why does it assume this value is a date, and how do I tell it to
stop?

Another example is data that looks like a number that has one or more
leading 0's. Excl seems to feel the need to strip the leading 0's to make the
value more "numberish" I guess. I don't see why it has to assume that a value
is a number just because it contains all digits, it could just as easily
belong to a set of serial numbers that occasionally have characters as well.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 915
Default Is there a way to prevent Excel from automatically formattingdata

Jason wrote:
If I open a CSV or Paste in certian types of text data, Excel will reformat
it based on what it thinks the data really is. I would like it to leave my
data alone unless I tell it to modify something.

For exmaple, if I type in notepad the text 1/23, and copy this and paste it
into a new spreadsheet, the result is 23-Jan ( depending on your date
settings. ) Why does it assume this value is a date, and how do I tell it to
stop?

Another example is data that looks like a number that has one or more
leading 0's. Excl seems to feel the need to strip the leading 0's to make the
value more "numberish" I guess. I don't see why it has to assume that a value
is a number just because it contains all digits, it could just as easily
belong to a set of serial numbers that occasionally have characters as well.


Hi Jason,

Isn't Excel so helpful sometimes? (^:

My way of handling external data like this is to, first, always paste as
text, and second, either pre-format the relevant receiving columns as
Text, or, drop the data once, fix the column types, then paste (as text)
again.
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Is there a way to prevent Excel from automatically formatting data

Without going into a discussion of design choices made by MS...

Excel provides you the option of designating any column as TEXT while
importing and leaves it alone...

Also in Notepad (or in Excel itself) you can enter '1/23 instead of 1/23.

"Jason" wrote:

If I open a CSV or Paste in certian types of text data, Excel will reformat
it based on what it thinks the data really is. I would like it to leave my
data alone unless I tell it to modify something.

For exmaple, if I type in notepad the text 1/23, and copy this and paste it
into a new spreadsheet, the result is 23-Jan ( depending on your date
settings. ) Why does it assume this value is a date, and how do I tell it to
stop?

Another example is data that looks like a number that has one or more
leading 0's. Excl seems to feel the need to strip the leading 0's to make the
value more "numberish" I guess. I don't see why it has to assume that a value
is a number just because it contains all digits, it could just as easily
belong to a set of serial numbers that occasionally have characters as well.

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 prevent excel from automatically changing 0300 to 300? rutherford Excel Discussion (Misc queries) 2 February 25th 07 10:46 AM
How do I prevent excel from automatically changing my numbers? nick Excel Discussion (Misc queries) 2 December 18th 06 10:16 PM
Prevent open excel windows from automatically closing. Prevent Automatic Closing Excel Discussion (Misc queries) 1 April 10th 06 10:27 PM
How to prevent Excel 2003 from automatically change chart type Oscar II Charts and Charting in Excel 2 October 1st 05 02:57 PM
How can I prevent email addresses from automatically hyperlinking. pistoff Excel Worksheet Functions 2 June 10th 05 11:36 PM


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