LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Import of text file - numbers destroyed!

Hi,

I've been working with the Excel (2003) text file import wizard for a
while, but I haven't had THIS sort of problem before (that is, I had,
but so far I could always solve it).

I have a text file with tab-delimited columns. There is one header
row, and a lot of data rows. Some columns are text, and some numbers.
Looong numbers, for example 8.20124159208057

The first strange thing was that Excel believed this file originated
from Chinese (simplified) - no idea why. I converted it to unicode,
then that worked fine.

In the preview of the import wizard, all looks fine. All the numbers
are displayed as they look in a text editor. Because I feel generous,
I inform Excel that it should use the dot (.) instead of my default
comma (,) as decimal separator (as you can see in the example above,
the number uses a dot).

But once I hit "Finish" everything goes pear-shaped:
The number I mentioned before becomes 820124159208057, in fact ALL
NUMBERS lose their decimal separator!
What does work is the row and column assignment (in fact, I have
imported many files using the same format and arrangement, without any
problems).

Now I'm sitting on a load of finely minced numbers, and wonder how I
can persuade Excel to keep my decimal separation, the way, in fact, it
showed in the preview.

If anyone out there has a smart idea about this, it would be much
appreciated!

Robert
 
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
Set Defaults in File Import of a Text File Dkline Excel Worksheet Functions 2 January 28th 08 06:20 PM
Import only certain rows from text file MikeD1224 Excel Discussion (Misc queries) 5 June 8th 07 11:13 PM
import from text file jason2444 Excel Discussion (Misc queries) 2 January 17th 07 04:22 PM
Would Like to Automate Batch File Creation and Text FIle Import socrtwo Excel Discussion (Misc queries) 2 August 18th 06 03:54 PM
How To Import Text File With No Delimiters? Sam Excel Discussion (Misc queries) 1 February 8th 05 05:54 PM


All times are GMT +1. The time now is 09:57 PM.

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

About Us

"It's about Microsoft Excel"