Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
celticvalley
 
Posts: n/a
Default PREVENT conversion of text to number?


I have a CSV file that I will open (or import) and which has one column
that contains serial numbers. The problem is that some of the numbers
have this format: 123E567.

Excel promptly converts this text to a number: 1.23E+569. Even if I
then change the format of the cell to text, it still keep the text
1.23E+569.

How can I either prevent the original text from being converted to
begin with or how can I correct it after the fact?

Best regards,
Ken


--
celticvalley
------------------------------------------------------------------------
celticvalley's Profile: http://www.excelforum.com/member.php...o&userid=26360
View this thread: http://www.excelforum.com/showthread...hreadid=396287

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Change the name of the file from .csv to .txt.

Then when you do file|open, you'll see text to columns wizard pop up. You'll be
able to specify each field--including this one as Text.



celticvalley wrote:

I have a CSV file that I will open (or import) and which has one column
that contains serial numbers. The problem is that some of the numbers
have this format: 123E567.

Excel promptly converts this text to a number: 1.23E+569. Even if I
then change the format of the cell to text, it still keep the text
1.23E+569.

How can I either prevent the original text from being converted to
begin with or how can I correct it after the fact?

Best regards,
Ken

--
celticvalley
------------------------------------------------------------------------
celticvalley's Profile: http://www.excelforum.com/member.php...o&userid=26360
View this thread: http://www.excelforum.com/showthread...hreadid=396287


--

Dave Peterson
  #3   Report Post  
celticvalley
 
Posts: n/a
Default


Thank you very much, Dave. This worked great.

Have a nice day.
Ken


--
celticvalley
------------------------------------------------------------------------
celticvalley's Profile: http://www.excelforum.com/member.php...o&userid=26360
View this thread: http://www.excelforum.com/showthread...hreadid=396287

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
making a number be text Fredrated Excel Worksheet Functions 2 June 1st 05 02:37 AM
edit number in cell without it changing to text rklremote Excel Discussion (Misc queries) 1 May 19th 05 10:22 PM
Format Number to Text Roni Excel Worksheet Functions 2 May 17th 05 03:17 PM
how to make number as text and left justified? mango Excel Worksheet Functions 1 February 21st 05 08:44 AM
returning a text cell based on a number cell Josh7777777 Excel Worksheet Functions 2 November 2nd 04 07:42 PM


All times are GMT +1. The time now is 07:47 PM.

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"