+ Reply to Thread
Results 1 to 10 of 10

Thread: Excel doesn't copy zero values

  1. #1
    Registered User
    Join Date
    04-15-2011
    Location
    Sofia
    MS-Off Ver
    Excel 2007
    Posts
    51

    Excel doesn't copy zero values

    If i try to copy/paste this type of numbers in excel:

    12.000
    14.400

    it copy them in this format:

    12
    14.4

    How can i fix this?


    Thanks!
    Last edited by emil9216; 10-17-2011 at 04:43 AM.

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,180

    Re: Excel doesn't copy zero values

    When you copy the cell(s) use Paste Special | Values and Paste Special | Formats to get the content and the formatting.

    Regards

  3. #3
    Registered User
    Join Date
    04-15-2011
    Location
    Sofia
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Excel doesn't copy zero values

    Ok, but the same problem occurs when i try to use "text to column" option. For example, if i have in A1:

    Number - 14.400

    if i use the dash "-" as a delimiter, in B1 the number is in this format "14.4", without the two zeros in the end.

  4. #4
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,180

    Re: Excel doesn't copy zero values

    Excel's default format is General. With that, you only see non-zero trailing decimal places. You need to apply number format and specify how many decimal places to show.

    Regards

  5. #5
    Registered User
    Join Date
    04-15-2011
    Location
    Sofia
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Excel doesn't copy zero values

    I tried this but if i have for example in A1 - 1000 and in A2 - 100 if i set the decimal place to 2 for A1 the result is 100 and for A2 - 100. Not correct.
    And if i set the decimal places to 3 the result for A1 will be 1000 and for A2 - 1000. Not correct too.

    Is there any other way?

  6. #6
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,180

    Re: Excel doesn't copy zero values

    How are you setting the number of decimal places for the cells?

    You should choose: Home | Format | Format cells | Number tab | Number with 2 decimal places.

    Not, as I suspect you are doing: Office Button | Excel options | Advanced | Automatically insert decimal places ... uncheck this option if it is checked.

    If this doesn't help, please post a sample workbook with some typical data, that is, the type of data you are having issues with.

    Regards

  7. #7
    Registered User
    Join Date
    04-15-2011
    Location
    Sofia
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Excel doesn't copy zero values

    I uploaded an example file. I want to separate the numbers from the text using "text to column" option, but it separates the numbers without the zero values in the end.
    Attached Files Attached Files

  8. #8
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,180

    Re: Excel doesn't copy zero values

    See the updated example with your data extracted and formatted.

    I've included images of the stages.

    Regards
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    04-15-2011
    Location
    Sofia
    MS-Off Ver
    Excel 2007
    Posts
    51

    Re: Excel doesn't copy zero values

    Thanks! It is working.

  10. #10
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,180

    Re: Excel doesn't copy zero values

    You're welcome. Thanks for the rep.

+ 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.2.0