+ Reply to Thread
Results 1 to 4 of 4

Sum and excel writes -0

  1. #1
    Registered User
    Join Date
    04-16-2017
    Location
    Aarhus, Denmark
    MS-Off Ver
    2010
    Posts
    74

    Sum and excel writes -0

    Well so a lot of good helpers are on this forum So I would hear if someone knows why my excel does this error, that it does. I have an example file, because it's pretty hard to explain, but basically my issue is that when counting points there is value called -0, instead of just 0.
    Attached Files Attached Files

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Sum and excel writes -0

    Your calculation results in a very small negative number, since you have no points for wins or draws, then you add goals scored multiplied by 0.0000001 and subtract goal difference multiplied by 0.000001. With no goals scored and -3 goal difference, you get a small negative.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Forum Expert dominicb's Avatar
    Join Date
    01-25-2005
    Location
    Lancashire, England
    MS-Off Ver
    MS Office 2000, 2003, 2007 & 2016 365
    Posts
    4,867

    Re: Sum and excel writes -0

    Good afternoon thomexcel

    Cell AA6 is such a cell. The actual value of cell AA6 is -0.00000300, which is why it shows as -0.

    To fix this, you can alter the formula to show :
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    HTH

    DominicB

  4. #4
    Registered User
    Join Date
    04-16-2017
    Location
    Aarhus, Denmark
    MS-Off Ver
    2010
    Posts
    74

    Re: Sum and excel writes -0

    Quote Originally Posted by dominicb View Post
    Good afternoon thomexcel

    Cell AA6 is such a cell. The actual value of cell AA6 is -0.00000300, which is why it shows as -0.

    To fix this, you can alter the formula to show :
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    HTH

    DominicB
    Thank you that helped.
    Last edited by thomexcel; 05-30-2018 at 08:49 AM.

+ 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. is it possible to create a sub that writes in worksheet code?
    By filippobarde in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-13-2013, 11:05 AM
  2. Macro that writes date when a change is made.
    By gr507105 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-26-2013, 03:28 PM
  3. Form that Writes to a Worksheet
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 05-09-2013, 02:44 PM
  4. Compare two columns in excel and writes down in third if it is in tolerance
    By Fanco42 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-08-2013, 08:55 AM
  5. My Excel 2010 only writes characters as I type
    By mcmuney in forum Excel General
    Replies: 1
    Last Post: 09-12-2012, 02:11 AM
  6. Dir folders and subfolders macro writes over it self
    By Pero in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-15-2009, 02:46 PM
  7. Macro that writes Macros
    By schoujar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-01-2006, 12:10 AM
  8. [SOLVED] Speeding up writes to cells?
    By Bruce E. Stemplewski in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-30-2005, 08: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