Paste as values changes the outcome of formula...

Blackeye

New Member
Joined
Apr 24, 2015
Messages
2
Hello everyone,

I am facing an issue with copy/pasting a formula as values which results in my pasted value being incorrect according to me.

This is what I did:

value 503 in A1.
value 1.14 in B1.
value 573.42 in C1 (outcome from sum A1 * B1)
Value 0.42 in D1 (outcome from sum A1 * B1 - C1) this because I only wanted to have the decimals
Value 0.42 in E1 (copy/pasting as values D1 to E1)

The value in cell E1 is 0.42000000000, which is according to me correct. However, for some reason in the formula bar a value for cell E1 is shown as 0.419999999999959...

I tried to understand how excel comes with this value, which I believe is incorrect as all I entered was a max of 2 decimals which should result in an output of max 2 decimals.

Does someone else has the same experience or does someone knows how to solve this issue?

Ps. this formula worked for me for already a couple of years but suddenly it is calculating incorrectly, which let me believe it might be something with my excel settings instead, but I don't know what?

Many thanks.

Kind Regards,

Blackeye
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,214,403
Messages
6,119,309
Members
448,886
Latest member
GBCTeacher

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