+ Reply to Thread
Results 1 to 6 of 6

Wrong sum result

  1. #1
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Wrong sum result

    Dear all,

    Could you help to solve my problem,please?
    I have some values positive and negative but their Sum result is "-2.8421709430404E-14" but the wright answer is zero
    Why this number is shown?How to fix it?
    See the attachment
    Attached Files Attached Files
    Last edited by leprince2007; 10-09-2019 at 08:27 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Wrong sum result

    See here:

    https://support.microsoft.com/en-gb/...sults-in-excel

    Solution: round your results to the appropriate level of precision, which looks like 2 DP.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Wrong sum result

    If you renter the SUM() formula in the same cell B34 - or just select B34 press F2, hit return - it works.

    If you copy the numbers to a different column then enter the SUM at the bottom of the new column - it works.
    Also reentering the numbers manually in another column - it works.
    Last edited by Special-K; 10-09-2019 at 06:48 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Re: Wrong sum result

    MR,Glenn Kennedy .I found the solution in your link:
    Change format to "Number"
    But why Excel shows this number instead of zero?

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,812

    Re: Wrong sum result

    As explained in Glenn's link, it is due to floating point error -- an inherent part of how computer's do arithmetic. If you feel Glenn's link did not explain it adequately, perhaps one of my links will help: https://www.excelforum.com/groups/ma...nd-errors.html
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  6. #6
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    769

    Re: Wrong sum result

    ok thank you all

+ 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. [SOLVED] Wrong result if I SUM
    By john55 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-09-2017, 06:43 AM
  2. [SOLVED] Code result wrong but formula correct result
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-11-2014, 12:26 PM
  3. IF/Then Getting Wrong Result
    By artiststevens in forum Excel General
    Replies: 2
    Last Post: 01-06-2011, 07:21 PM
  4. excel result return wrong calcuation result
    By garyww in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-14-2006, 06:20 AM
  5. Whatever I do I get the wrong result
    By Arishy in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-20-2005, 01:40 PM
  6. [SOLVED] Result in Cell is Wrong
    By Lilbit in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. [SOLVED] Result in Cell is Wrong
    By bj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-06-2005, 06:05 AM

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