Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Reading CSV with numbers in text format, Excel automatically convertsto scientific notation

I have a CSV file with numbers like 00425067891253. They are formatted as text.
No special characters can be inserted into these numbers as they as used for batch processing and the leading zeroes must be there.

Is there any way to open these in Excel without the numbers automatically converting to scientific format?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 829
Default Reading CSV with numbers in text format, Excel automatically converts to scientific notation

"Fredy617" wrote:
I have a CSV file with numbers like 00425067891253.
They are formatted as text.

[....]
Is there any way to open these in Excel without the
numbers automatically converting to scientific format?


The problem is not the display in Scientific format so much. That would be
easy to remedy: simply change format to Number after opening the file.

(However, that might not be acceptable to you.)

The real problem is: Excel does not read the IDs as text if you open the
file directly in Excel. Excel reads them as numbers, even if you manually
enclose them in double-quotes.

Consequently, you "loose" the leading zeros. And worse: any numeric ID
longer than 15 digits will be modified, replacing the digits after the first
15 digits with zeros.

If all such numbers (and nothing else) are in columns, you can use the Text
Import wizard to read the CSV file into a blank worksheet instead of opening
the file directly. One of wizard options allows you to select the format of
an entire column as Text.

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
opening text file converts numbers to scientific notation Ken Clark Excel Discussion (Misc queries) 1 March 22nd 10 06:37 AM
Excel reading pasted values as Scientific Notation Brad Autry Excel Discussion (Misc queries) 2 September 8th 09 05:00 PM
large numbers as text replaced with scientific notation [email protected] Excel Discussion (Misc queries) 2 January 12th 09 11:33 PM
Hex numbers displayed in scientific notation when importing text f Gabriel Nehmer Excel Discussion (Misc queries) 2 July 20th 07 04:08 PM
Scientific Notation - I want excel to read it as a text not a numb Jim McC Excel Discussion (Misc queries) 1 February 19th 07 08:08 PM


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