+ Reply to Thread
Results 1 to 3 of 3

paste special gives me 14 decimal points?

Hybrid View

  1. #1
    Registered User
    Join Date
    03-22-2005
    Posts
    2

    paste special gives me 14 decimal points?

    I have a column of number, with two decimal points.
    For example, lets use the following three numbers from a column that is 1600 rows, all with two digit decimal points.

    2051.04
    2034.98
    2015.75


    those are in a1 to a3

    in b2, I set up the formula =a2-a1, where I get the value, -16.06, that is subtracted. When I then copy that cell and use paste special, values, into the same cell, so that I can just see the numerical value in that cell without a formula, I get -16.0599999999999 when I click on the cell to see the value.

    How can I get that to just be -16.06? I started with two decimal points, and I would like the cell value to be two decimal points. thanks

  2. #2
    Registered User
    Join Date
    11-19-2004
    Posts
    2
    Has rounding adjusting effects on your number, but could you use =Round(a2-a1,2)

  3. #3
    Registered User
    Join Date
    03-22-2005
    Posts
    2
    thanks for your reply, that worked. I used your formula, then I went and copied the column, did a paste special with values, and it kept the two decimal points.

    I still wonder why rounding has to be done in the first place? Why are fourteen decimal places happening, when subtracting two numbers that only have two decimal places to start with?

+ 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