Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.setup,microsoft.public.excel.worksheet.functions
|
|||
|
|||
Rounding numbers then doing a sum of those numbers produces incorrect result.
I have a row of numbers that gets calculated from two other rows. I
formatted this row as a number with two decimal places. I then take that row of numbers and do a sum on it but it produces a result that is one cent off the actual total (because I think it is adding the whole number and not the rounded format that I chose). Is there anyway to fix this? Thanks |
#2
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.setup,microsoft.public.excel.worksheet.functions
|
|||
|
|||
Rounding numbers then doing a sum of those numbers produces incorrect result.
Hi,
Formatting does not change the underlying value. It only changes the appearance. Toolsoptioncalculation workbook options, check "precision as displayed". -- John johnf202 at hotmail dot com "GzusRox" wrote in message ... I have a row of numbers that gets calculated from two other rows. I formatted this row as a number with two decimal places. I then take that row of numbers and do a sum on it but it produces a result that is one cent off the actual total (because I think it is adding the whole number and not the rounded format that I chose). Is there anyway to fix this? Thanks |
#3
Posted to microsoft.public.excel,microsoft.public.excel.programming,microsoft.public.excel.setup,microsoft.public.excel.worksheet.functions
|
|||
|
|||
Rounding numbers then doing a sum of those numbers produces incorrect result.
You will get a more accurate sum if you don't round, e.g.
1/3 + 1/3 + 1/3 = 1 vs. .33 + .33 + .33 = 0.99 Jerry GzusRox wrote: I have a row of numbers that gets calculated from two other rows. I formatted this row as a number with two decimal places. I then take that row of numbers and do a sum on it but it produces a result that is one cent off the actual total (because I think it is adding the whole number and not the rounded format that I chose). Is there anyway to fix this? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
OR function produces incorrect result | New Users to Excel | |||
SUM OF NUMBERS APPEAR INCORRECT? | Excel Discussion (Misc queries) | |||
=RAND produces decimals not whole numbers | Excel Discussion (Misc queries) | |||
Copy Paste of Formula Produces Incorrect Result | Excel Discussion (Misc queries) | |||
incorrect totals using rounded numbers | Excel Discussion (Misc queries) |