Issue in sum of positive amount & Negative Amount

amkumar

New Member
Joined
Apr 5, 2016
Messages
45
Hi,

I have 4 values of amounts , 2 values are positive and remain two are negative. value of positive and negative amounts are same (below table). when i have sum all of these 4 value then the result should be 0 but there is some other value is coming out.

Please help me to coming out from this issue.

Value 1 336.47
Value 25.72
Value 3-336.47
value 4 -5.72
Result2.75335310107039E- 14

<tbody>
</tbody>


Thanks in advance
Amit Kumar
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
G'day Amit,

You have a very strange matter. If you increase the number of displayed decimals for your data, you will find that the Result has some numbers magically appear from about 14 decimal places in, without any corresponding decimals in the other four numbers.

If you change your cell format to Number and set the decimals to 2, the correct result is displayed

Edit to add - which is ok if you don't use that result for any other calculation - if you do then RasGhul's option is by far the better option.

Cheers

shane
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,812
Members
449,048
Latest member
greyangel23

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