Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 66
Default Why is Excel calculating a number?

Why is there a number being calculated when I am subtracting the same
amounts? I have a sum in one cell and a number in another - which are
essentially the same amount but Excel is showing a decimal number like
..0000000021. Also, I am formating the cell as number with two decimals - the
default, I believe, when the comma "," icon is selected in the toolbar.
Also, the number shows 0, but when I extend the decimal places I see that it
is the number above. Also, I have a similar situation in another record but
it shows the "-" symbol for zero.
--
Gator
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Why is Excel calculating a number?

This is just roundofff error. If you need absolute equality, then use the
=ROUND() function.
--
Gary''s Student - gsnu200763


"Gator" wrote:

Why is there a number being calculated when I am subtracting the same
amounts? I have a sum in one cell and a number in another - which are
essentially the same amount but Excel is showing a decimal number like
.0000000021. Also, I am formating the cell as number with two decimals - the
default, I believe, when the comma "," icon is selected in the toolbar.
Also, the number shows 0, but when I extend the decimal places I see that it
is the number above. Also, I have a similar situation in another record but
it shows the "-" symbol for zero.
--
Gator

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Why is Excel calculating a number?

Format doesn't change the value stored in the cell (unless you have the
Precision as displayed option set).

See http://cpearson.com/excel/rounding.htm for an explanation of
small rounding errors inherent in performing finite precision math.

In article ,
Gator wrote:

Why is there a number being calculated when I am subtracting the same
amounts? I have a sum in one cell and a number in another - which are
essentially the same amount but Excel is showing a decimal number like
.0000000021. Also, I am formating the cell as number with two decimals - the
default, I believe, when the comma "," icon is selected in the toolbar.
Also, the number shows 0, but when I extend the decimal places I see that it
is the number above. Also, I have a similar situation in another record but
it shows the "-" symbol for zero.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel for calculating stock cover based on a number of months sale DubaiGeorge Excel Worksheet Functions 2 November 1st 07 05:21 PM
Calculating Time with a number value Corey Excel Worksheet Functions 2 December 28th 06 05:29 AM
Calculating number of people Denise Excel Discussion (Misc queries) 2 January 10th 06 05:50 PM
Text number to number value for calculating ddiebold7 Excel Worksheet Functions 3 June 13th 05 12:48 PM
Calculating number of days Carlos Excel Worksheet Functions 3 March 1st 05 08:23 PM


All times are GMT +1. The time now is 11:44 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"