+ Reply to Thread
Results 1 to 9 of 9

Sum in excel is NOT zero after rounding to zero decimals

  1. #1
    Registered User
    Join Date
    03-05-2021
    Location
    Belize
    MS-Off Ver
    Excel
    Posts
    4

    Sum in excel is NOT zero after rounding to zero decimals

    Looking for some help with the sum of rounded figures not equal to zero.

    I extracted a list of numbers that are in three decimals. The sum of the list is zero. In a separate column I rounded the numbers to "0" decimals however, the sum is now not zero. Is someone familiar with this problem? I used the Goal Seek option but still no solution.

  2. #2
    Valued Forum Contributor
    Join Date
    04-24-2020
    Location
    Woodbridge, VA
    MS-Off Ver
    2016
    Posts
    434

    Re: Sum in excel is NOT zero after rounding to zero decimals

    Hi - can you please provide a sample so we can take a look?

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Sum in excel is NOT zero after rounding to zero decimals

    ... however, the sum is now not zero.
    Why would it be? The values could be less than or greater than the original values depending on if they round down or up.
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    03-05-2021
    Location
    Belize
    MS-Off Ver
    Excel
    Posts
    4

    Re: Sum in excel is NOT zero after rounding to zero decimals

    Hello mikeava, thanks for your prompt reply.
    I am looking to see how I can submit an attachment as the example. Failing that, can I email to you?

  5. #5
    Registered User
    Join Date
    03-05-2021
    Location
    Belize
    MS-Off Ver
    Excel
    Posts
    4

    Re: Sum in excel is NOT zero after rounding to zero decimals

    the excel file I am working with is 2105 rows, 94kb. Can I submit like that?

  6. #6
    Valued Forum Contributor
    Join Date
    04-24-2020
    Location
    Woodbridge, VA
    MS-Off Ver
    2016
    Posts
    434

    Re: Sum in excel is NOT zero after rounding to zero decimals

    If you just want to provide a small sample that is fine.

    In your reply Scroll down and click on Go Advanced
    Scroll down and click on Manage Attachments
    Under Additional Options click again on Manage Attachments.
    New window opens - click on Choose File and select your file
    Click on Upload
    Scroll down and Close Window
    Click on Submit

  7. #7
    Registered User
    Join Date
    03-05-2021
    Location
    Belize
    MS-Off Ver
    Excel
    Posts
    4

    Re: Sum in excel is NOT zero after rounding to zero decimals

    Thanks...here is the file.

  8. #8
    Valued Forum Contributor
    Join Date
    04-24-2020
    Location
    Woodbridge, VA
    MS-Off Ver
    2016
    Posts
    434

    Re: Sum in excel is NOT zero after rounding to zero decimals

    Thanks for uploading the file. Just an FYI - It always helps others when they can see what you are referring to.

    I have to agree with TMS it has to do with the rounding. You lose some value in one amount when you round down, and gain some when you round up.

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,425

    Re: Sum in excel is NOT zero after rounding to zero decimals

    Yep, like I said. Some values go up, some go down. If you want an accurate sum, don't use rounding.



    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Rounding 2 decimals to specific 2 decimals
    By danyel191 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-28-2016, 01:41 PM
  2. Rounding Decimals
    By MR-77 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-21-2015, 03:18 AM
  3. Need help with Rounding numbers with no decimals using Excel 2007 Solver
    By lester.ilao in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 03-21-2012, 11:03 PM
  4. [SOLVED] stop rounding up in a colum that contains decimals in excel
    By bina in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2006, 09:30 AM
  5. [SOLVED] Rounding Up Decimals
    By Lilbit in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-04-2006, 04:45 PM
  6. Rounding Decimals
    By Jim May in forum Excel General
    Replies: 8
    Last Post: 11-07-2005, 02:10 PM
  7. [SOLVED] Re: Rounding with no Decimals...
    By Karthik in forum Excel General
    Replies: 1
    Last Post: 07-29-2005, 02:06 PM

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