Error Checking in Excel
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 3 of 3

Thread: keeping 0s after decimal

  1. #1
    New Member
    Join Date
    Apr 2002
    Location
    Arizona
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I am trying to export a comma delimited xls file with numbers containing decimals in each cel. Excel seems to drop the zeros after decimals though. This is a problem because these are part numbers. Please help.

    Ari

  2. #2
    MrExcel MVP Jay Petrulis's Avatar
    Join Date
    Mar 2002
    Location
    Chicago, IL USA
    Posts
    2,040
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi,

    Are you importing or exporting the file?

    If you are importing the file, try to import the column(s) in question as text--the wizard will allow you to indicate how you want each column to be imported.

    If you are exporting, make sure that these columns are text and the export should maintain the zero values.

    HTH,
    Jay

  3. #3
    New Member
    Join Date
    Apr 2002
    Location
    Arizona
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    I am exporting the file through a script as filename.xls . ex:
    cel1, cel2, 1000.00, cel4


    The ".00" in "cel3" are lost when viewing file.

    Thanks,
    Ari

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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