Accuracy issue (presumably) with low numbers

Status
Not open for further replies.

willow-mouse

New Member
Joined
Aug 25, 2010
Messages
17
My colleague has an issue with summing a list. I've shown the original below, and the permutations I've tried to the right which all result in the correct zero sum.

Any idea how this happens?

[TABLE="class: grid, width: 500, align: left"]
<colgroup><col><col span="4"></colgroup><tbody>[TR]
[TD]Cell[/TD]
[TD]Original[/TD]
[TD]A>Z[/TD]
[TD]Z>A[/TD]
[TD]Swapped[/TD]
[/TR]
[TR]
[TD]A1[/TD]
[TD]22.05[/TD]
[TD]-427.85[/TD]
[TD]661[/TD]
[TD]22.05[/TD]
[/TR]
[TR]
[TD]A2[/TD]
[TD]-7.05[/TD]
[TD]-232[/TD]
[TD]22.05[/TD]
[TD]-7.05[/TD]
[/TR]
[TR]
[TD]A3[/TD]
[TD]661[/TD]
[TD]-20.75[/TD]
[TD]6.2[/TD]
[TD]661[/TD]
[/TR]
[TR]
[TD]A4[/TD]
[TD]-232[/TD]
[TD]-7.05[/TD]
[TD]-1.6[/TD]
[TD]-232[/TD]
[/TR]
[TR]
[TD]A5[/TD]
[TD]-20.75[/TD]
[TD]-1.6[/TD]
[TD]-7.05[/TD]
[TD]-20.75[/TD]
[/TR]
[TR]
[TD]A6[/TD]
[TD]6.2[/TD]
[TD]6.2[/TD]
[TD]-20.75[/TD]
[TD]6.2[/TD]
[/TR]
[TR]
[TD]A7[/TD]
[TD]-427.85[/TD]
[TD]22.05[/TD]
[TD]-232[/TD]
[TD]-1.6[/TD]
[/TR]
[TR]
[TD]A8[/TD]
[TD]-1.6[/TD]
[TD]661[/TD]
[TD]-427.85[/TD]
[TD]-427.85[/TD]
[/TR]
[TR]
[TD]Sum(A1:A8)[/TD]
[TD]-3.42E-14[/TD]
[TD]0.00[/TD]
[TD]0.00[/TD]
[TD]0.00[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
Status
Not open for further replies.

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top