View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EggMan903 EggMan903 is offline
external usenet poster
 
Posts: 4
Default Adding problem in excel

I apologize T. Valko

After reading that article a little more in depth I can see the part about
Floating Point Numbers and that seems to be the problem I am having.

Thank you


"EggMan903" wrote:

Thank you for your response.

Unfortunately there are no formulas in the excel that I am referencing. I
just typed in those 8 numbers, added them up, and got that answer. You could
also type in
=-187992-213510-828672.8-1025000+828672.8+213510+1025000+187992 and you will
get the answer of 2.32831E-10. It is currently formated to general and I
know I can format it to number and it would show as 0 but why does it show as
that value to begin with.


"T. Valko" wrote:

See this:

http://www.cpearson.com/Excel/rounding.htm

Although the atricle mentions Excel 97 it's applicable to all versions of
Excel.

--
Biff
Microsoft Excel MVP


"EggMan903" wrote in message
...
Can anyone tell me why when you enter this into a cell

=-187992-213510-828672.8-1025000+828672.8+213510+1025000+187992

The value comes out 2.32831E-10 when it should clearly be 0. I know I can
format the cell to show as 0 but why does it ever show as 2.32831E-10 when
it
is impossible to have those numbers equal anything other then 0.


Thank you