Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default text string: "91E10" in csv file auto converts to: "9.10E+11"

91E10, and similar, are Military PMOS codes (job codes). When the comma
delimited csv file is read in, Excel automatically converts any string
containing "E" into what appears to be exponential notation. In the csv file
the string is delimited as ,"91E10", between other data fields. The file is
opened by clicking on the csv file without Excel running, after which Excel's
file association type loads the csv file in, during which it converts all
strings containing a capital "E". How do I disable this undocumented feature?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default text string: "91E10" in csv file auto converts to: "9.10E+11"

Don't open the CSV file that way (nor by using File / Open from within
Excel).

From within Excel, use Data/ Import External Data/ Import Data.
In the text import wizard, specify the relevant column as Text if you don't
want Excel to reformat them.

Another option is to rename the file from .CSV to .TXT, and that will enable
the text import wizard when you try to open the file with Excel.
--
David Biddulph

" wrote
in message ...
91E10, and similar, are Military PMOS codes (job codes). When the comma
delimited csv file is read in, Excel automatically converts any string
containing "E" into what appears to be exponential notation. In the csv
file
the string is delimited as ,"91E10", between other data fields. The file
is
opened by clicking on the csv file without Excel running, after which
Excel's
file association type loads the csv file in, during which it converts all
strings containing a capital "E". How do I disable this undocumented
feature?



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default text string: "91E10" in csv file auto converts to: "9.10E+11"

You could try importing the data via:
Data|get external data

And you'd be able to specify the type for each field--use text for these.

Or you could rename the .csv file to .txt
then use File|Open to open the .txt file.

Then you would see that same wizard.

wrote:

91E10, and similar, are Military PMOS codes (job codes). When the comma
delimited csv file is read in, Excel automatically converts any string
containing "E" into what appears to be exponential notation. In the csv file
the string is delimited as ,"91E10", between other data fields. The file is
opened by clicking on the csv file without Excel running, after which Excel's
file association type loads the csv file in, during which it converts all
strings containing a capital "E". How do I disable this undocumented feature?


--

Dave Peterson
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
how to converts a number to text eg. "2" become "two" CQ New Users to Excel 3 February 18th 06 08:25 PM
how to converts a number to text eg. "2" become "two" CQ New Users to Excel 1 February 17th 06 04:10 AM
converts a number to text eg. "2" become "two" CQ Excel Discussion (Misc queries) 1 February 17th 06 03:24 AM
Insert "-" in text "1234567890" to have a output like this"123-456-7890" Alwyn Excel Discussion (Misc queries) 3 October 25th 05 11:36 PM


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