+ Reply to Thread
Results 1 to 2 of 2

Unable to save CSV file without decimal places

Hybrid View

  1. #1
    Registered User
    Join Date
    07-03-2008
    Location
    UK
    Posts
    1

    Unhappy Unable to save CSV file without decimal places

    Hi guys,

    I'm having a problem saving a csv document without a column of 13 digit numbers changing to a value with decimal places.

    For example:

    3501170784624 becomes 3.50117E+12

    If I change it to 0 decimal places, that appears to be fine, I save the document, reopen it and the numbers have reverted back to a decimal value.

    Any ideas why this would occur?

    Many thanks in advance.

  2. #2
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    hi,

    The csv file format only supports values & not any other formatting such as column widths.

    Here's a quote from the 2003 Excel Help files:
    Formatting and features that are not transferred in Excel file format conversions:
    The CSV (*.csv) file format saves only the text and values as they are displayed in cells of the active worksheet. All rows and all characters in each cell are saved. Columns of data are separated by commas, and each row of data ends in a carriage return. If a cell contains a comma, the cell contents are enclosed in double quotation marks.

    If cells display formulas instead of formula values, the formulas are converted as text. All formatting, graphics, objects, and other worksheet contents are lost. The euro symbol will be converted to a question mark.

    Note If your workbook contains special font characters such as a copyright symbol (©), and you will be using the converted text file on a computer with a different operating system, save the workbook in the text file format appropriate for that system. For example, if you are using Windows and want to use the text file on a Macintosh computer, save the file in the CSV (Macintosh) format. If you are using a Macintosh computer and want to use the text file on a system running Windows or Windows NT, save the file in the CSV (Windows) format.
    hth
    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1