morinia
asked on
Creating a CSV file from Excel maintaining numbers in character column
Creating a CSV file from Excel and retaining the character format of a column that has all numeric
I have an excel spreadsheet that is defined as character, however the columns that have numeric are converting to scientific format.
The file looks fine when opened in notepad, however once opened in Excel the format changes.
The file was created in SAS Enterprise Guide.
I have an excel spreadsheet that is defined as character, however the columns that have numeric are converting to scientific format.
The file looks fine when opened in notepad, however once opened in Excel the format changes.
The file was created in SAS Enterprise Guide.
You need to open the file in Excel then format the number columns then save as csv file.
For more details read this
How to control and understand settings in the Format Cells dialog box in Excel
- Select the cells you want to modify. Selecting a cell range.
- Click the drop-down arrow next to the Number Format command on the Home tab. The Number Formatting drop-down menu will appear.
- Select the desired formatting option. ...
- The selected cells will change to the new formatting style.
For more details read this
How to control and understand settings in the Format Cells dialog box in Excel
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks to all.
Solution:
Adjust the displayed format within Excel, the CSV is not at fault.