Problem with precision while adding parentheses

jeouef

New Member
Joined
Feb 3, 2012
Messages
1
Hi Guys

I'm performing really basics calculations in excel 2007, however, when I add parentheses at the beginning and end of a formula (which mathematically shouldn't change a thing), I get a precision error.

Here is what I mean
with: =C29-(C8-C14-((C8-C14-C19)/2))
I get 0.00000000000000000000000000000000000000000000000000

Now with : =(C29-(C8-C14-((C8-C14-C19)/2)))
I get
0.00000000000000022204460492503100000000000000000000 <table border="0" cellpadding="0" cellspacing="0" width="633"><colgroup><col width="633"></colgroup><tbody><tr height="20"> <td class="xl63" style="height:15.0pt; width:475pt" height="20" width="633" align="left">
</td></tr></tbody></table>Plz help, I guess it's a option thing, but I couldn't figure out any way of removing this error except the "set precision as displayed" which is not really convenient.

Thanks
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Hi, welcome to the board.

This looks like it might be a floating point problem, which is a recognised feature of Excel. Try doing a search on this board for "floating point".
 
Upvote 0

Forum statistics

Threads
1,215,417
Messages
6,124,777
Members
449,187
Latest member
hermansoa

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