ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   CSV imported data being formatted as a date (https://www.excelbanter.com/excel-discussion-misc-queries/221310-csv-imported-data-being-formatted-date.html)

Steve Richter

CSV imported data being formatted as a date
 
I am importing a .CSV file into excel 2000. The 3rd column contains
data that looks like a date:
"MB","xxxxx FJC ","07/13/08 "
"MB","xxxxx FJC ","07/15/08 "
"MB","xxxxx FJC ","07/23/08 "

excel displays this data as 7/13/2008, 7/15/2008, ...

problem is, when I format the column as "text" the value "39642" is
displayed in place of "07/13/08", "39644" in place of "07/15/08".

How do I get excel to load the .CSV file with "text" formatting on all
columns? Or, how do I format the 3rd column to display the original,
loaded data?

thanks,


Gary''s Student

CSV imported data being formatted as a date
 
Because .csv is "native" to Excel, double-click the icon will cause Excel to
try to help you by interpreting the fields. You can avoid this by:

Data Import External Data Import Data

and then tell the wizard what the format should be
--
Gary''s Student - gsnu200834


"Steve Richter" wrote:

I am importing a .CSV file into excel 2000. The 3rd column contains
data that looks like a date:
"MB","xxxxx FJC ","07/13/08 "
"MB","xxxxx FJC ","07/15/08 "
"MB","xxxxx FJC ","07/23/08 "

excel displays this data as 7/13/2008, 7/15/2008, ...

problem is, when I format the column as "text" the value "39642" is
displayed in place of "07/13/08", "39644" in place of "07/15/08".

How do I get excel to load the .CSV file with "text" formatting on all
columns? Or, how do I format the 3rd column to display the original,
loaded data?

thanks,



Steve Richter

CSV imported data being formatted as a date
 
On Feb 17, 1:03*pm, Gary''s Student
wrote:
Because .csv is "native" to Excel, double-click the icon will cause Excel to
try to help you by interpreting the fields. *You can avoid this by:

Data Import External Data Import Data

and then tell the wizard what the format should be


outstanding! Thanks for the help.

-Steve




All times are GMT +1. The time now is 05:53 AM.

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