ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   importing csv file (https://www.excelbanter.com/excel-discussion-misc-queries/76986-importing-csv-file.html)

godzooky

importing csv file
 

i am generating a csv file that i'm importing to excel. one field is
string of numbers, which i need to display exactly as it is in csv
file. for example, if 2777380003, is in the csv file, i want to see
that exact same string in excel, not scientific notation which seems to
be the default. i tried adding a single quote in the csv file, like
this, '2777380003, but the single quote is displayed in excel until i
double click the cell. is there a way to denote no formatting inside a
csv file?

thanks


--
godzooky
------------------------------------------------------------------------
godzooky's Profile: http://www.excelforum.com/member.php...o&userid=32424
View this thread: http://www.excelforum.com/showthread...hreadid=521911


Nick Hodge

importing csv file
 
godzooky

take the .csv from the file extension and Excel will invoke the text import
wizard. mark this column as text in the wizard.

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
www.nickhodge.co.uk
HIS


"godzooky" wrote in
message ...

i am generating a csv file that i'm importing to excel. one field is
string of numbers, which i need to display exactly as it is in csv
file. for example, if 2777380003, is in the csv file, i want to see
that exact same string in excel, not scientific notation which seems to
be the default. i tried adding a single quote in the csv file, like
this, '2777380003, but the single quote is displayed in excel until i
double click the cell. is there a way to denote no formatting inside a
csv file?

thanks


--
godzooky
------------------------------------------------------------------------
godzooky's Profile:
http://www.excelforum.com/member.php...o&userid=32424
View this thread: http://www.excelforum.com/showthread...hreadid=521911




Doug Kanter

importing csv file
 
"godzooky" wrote in
message ...

i am generating a csv file that i'm importing to excel. one field is
string of numbers, which i need to display exactly as it is in csv
file. for example, if 2777380003, is in the csv file, i want to see
that exact same string in excel, not scientific notation which seems to
be the default. i tried adding a single quote in the csv file, like
this, '2777380003, but the single quote is displayed in excel until i
double click the cell. is there a way to denote no formatting inside a
csv file?

thanks


A CSV file is nothing but an odd name for a text file whose columns are
delimited (separated) by commas. Based on my experience with Excel 2000,
Excel doesn't fiddle with the data in these files when it opens them. Things
appear just as they would if you'd opened them in a text editor like
Wordpad. The trouble begins when you copy the data to an Excel worksheet.
The trick is to format the cells as Text ***before*** you copy the data into
them.




All times are GMT +1. The time now is 07:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com