Calculation problem

Filip88

New Member
Joined
Mar 2, 2017
Messages
7
Hello,

i have quite interesting problem, which i did not expect at all...

I have couple of simple cells with formulas.

B1:1,0015
B2:1,0014
B3: B1-B2 = 0,00009999999

Excel result is 0,000099999, the problem is that i need to get result 0,0001 (1,0015-1,0014 = 0,0001) due to further calculations.

Is anyhow possible to set up excel to avoid "wrong" calculations with numbers with floating points?

thank you for help

Filip
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Try:
=ROUND(B1-B2 ,4)which will round your result to 4 decimal places
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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