ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Converting numbers and number formatting to a CSV file ? (https://www.excelbanter.com/excel-worksheet-functions/137300-converting-numbers-number-formatting-csv-file.html)

Cecilia

Converting numbers and number formatting to a CSV file ?
 
Is there a way to convert cells with numbers to a CSV file and keep the
formatting??

I have a file with a list of 50+ items that are over 12 digits each . .
..when I save it in as a CSV file it defaults to the Scientific Exponential
Notation (Ex: 9.78E+12) and loses any Excel formatting. Is there any way to
keep the number formating and save it as CSV? I tried saving it as text and
then as CSV but that didn't work.

Any ideas?

Thanks so much for your help!


Gary''s Student

Converting numbers and number formatting to a CSV file ?
 
If you save as .csv and look at the .csv file with Notepad, you will see no
conversion. If, however, you re-open the .csv file with Excel, Excel will
convert to Exp. format.

Just re-name the file .txt rather than .csv, Excel will then bring up the
Wizard and you can specify the field as Text.
--
Gary''s Student
gsnu200712


"Cecilia" wrote:

Is there a way to convert cells with numbers to a CSV file and keep the
formatting??

I have a file with a list of 50+ items that are over 12 digits each . .
.when I save it in as a CSV file it defaults to the Scientific Exponential
Notation (Ex: 9.78E+12) and loses any Excel formatting. Is there any way to
keep the number formating and save it as CSV? I tried saving it as text and
then as CSV but that didn't work.

Any ideas?

Thanks so much for your help!



All times are GMT +1. The time now is 04:47 AM.

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