Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
when I use the Sum function to calculate about 10,000 numbers, which have
been rounded to 2 decimals (using the round function in excel), the result of sum came out with more than 2 decimals. It is eight decimals! I don't know why, and I split the numbers into several groups. I find that an interesting thing, the sum of Group A has two decimals, the same with Group B. But when I calculate the sum of the two groups, the result also came out with 8 decimals!!!... |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"hou" wrote:
when I use the Sum function to calculate about 10,000 numbers, which have been rounded to 2 decimals (using the round function in excel), the result of sum came out with more than 2 decimals. The short answer is: you need to round the sum to 2 decimal places as well. I find that an interesting thing, the sum of Group A has two decimals, the same with Group B. Just a coincidence. In fact, even those numbers are probably not accurate to 2 decimal places. It just appears that way. I don't know why In general, numbers with decimal fractions cannot be represented exactly because of the way that Excel (and most applications) do arithmetic on binary computers. For more information, you might look at http://support.microsoft.com/kb/78113 . ----- original message ----- "hou" wrote: when I use the Sum function to calculate about 10,000 numbers, which have been rounded to 2 decimals (using the round function in excel), the result of sum came out with more than 2 decimals. It is eight decimals! I don't know why, and I split the numbers into several groups. I find that an interesting thing, the sum of Group A has two decimals, the same with Group B. But when I calculate the sum of the two groups, the result also came out with 8 decimals!!!... |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I would very much like to see the data. Could you email me a file? Please
get my email from my website best wishes -- Bernard V Liengme Microsoft Excel MVP http://people.stfx.ca/bliengme remove caps from email "hou" wrote in message ... when I use the Sum function to calculate about 10,000 numbers, which have been rounded to 2 decimals (using the round function in excel), the result of sum came out with more than 2 decimals. It is eight decimals! I don't know why, and I split the numbers into several groups. I find that an interesting thing, the sum of Group A has two decimals, the same with Group B. But when I calculate the sum of the two groups, the result also came out with 8 decimals!!!... |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel 2003: spreadsheet / workbook extends to far to right. | Excel Discussion (Misc queries) | |||
type a sentence so it extends over grids | Excel Discussion (Misc queries) | |||
CTRL+SHIFT+END extends selection of cells to last - how reset? | Excel Discussion (Misc queries) | |||
Function to ignore decimals | Excel Worksheet Functions | |||
a function on decimals | Excel Worksheet Functions |