+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Rounding Error in Excel calculations

  1. #1
    Registered User
    Join Date
    01-31-2012
    Location
    Panama City, FL
    MS-Off Ver
    Excel 2007
    Posts
    1

    Rounding Error in Excel calculations

    How do I stop ALL rounding in an Excel worksheet. I work with large $$ figures that must be exact. Even a penny here and there being off causes many problems and makes the boss VERY unhappy. I need the SUM function to just ADD what is there correctly to two decimal places. Even though I have it set to do that (2 decimal places), it is rounding off my numbers, causing me errors and headaches. Please help!!!!!!!!!!!

  2. #2
    Administrator JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Rounding Error in Excel calculations

    The error isn't in your SUM() formula, the error is in the values being displayed in the cells being SUMMED by that formula. You don't turn OFF rounding, rather you enforce it literally in each cell.

    In the cells being summed, wrap the existing formula in those cells with a ROUND formula of your choice. This will cause the value in that cell to actually be changed to what is displayed, so if you SUM those cells later, they will SUM accurately.

    Original Formula in D2: =B2/C2

    New Formula: =ROUND(B2/C2, 2)

    Now when you SUM the column D, it will be accurate.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    “None of us is as good as all of us” - Ray Kroc
    “Actually, I *am* a rocket scientist.” - JB (little ones count!)

+ 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