Le 20/12/2011 22:28, Dominik Wnęk a écrit :
Hello,
I have a problem with the way SUM works. At first I thought this was a
bug, but then I saw Numbers on my iPad doing the same thing, so now I
believe this is by design, but I have no idea why and how I can work
around this.
Take a look at this example:
http://www.ode2.com/images/libreoffice_sum.tiff
The number format is currency (Polish Zloty), the numbers in the left
column are entered by hand, the ones in the right one are calculated
by multiplying the left number by 1,22.
The sum of the numbers in the right-hand column should be -1199,62,
but it is off by 0,02 zł. It's pretty obvious this is because the
program sums the numbers it has in memory and not the ones it displays.
If this behaviour is correct, how can I work around this? I just spent
40 minutes trying to find out why my balance is wrong only to find out
the sums I was doing were giving me incorrect amounts :/
Thanks,
Good evening Dominik,
The solution to calculate has you see (It's a wrong way to do that the
result is false) consist in using the formula =ROUND("cell to
multiply"*1,22;2) the result is an approximative result rounded 2
numbers after coma.
I thing that 22% is a tax so it would be better to trunk the result in
te result cell in that exemple the resutant errror would be 0,82 cents
in place of 1,82 cents if you round each result.
I hope to be right with your question..
1,22
291,34 355,4348
291,34 355,4348
291,34 355,4348
109,29 133,334
1199,6382
291,34 "=round(A8*B1;2) 355,43
291,34 "=round(A9*B1;2) 355,43
291,34 "=round(A10*B1;2) 355,43
109,29 "=round(A11*B1;2) 133,33
"=SUM(C8:C11) 1199,62
Jacques CHAILLET
--
For unsubscribe instructions e-mail to: users+help@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted
Context
- Re: [libreoffice-users] The way SUM works · CHAILLET Jacques
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.