# Decimal values - is this normal?

#### Jim Gordon

##### Active Member
Hi

Please have a look at this workbook. There are oddities in the sum in cell B12107. I was expecting that the sum would have values only in 2 decimal places.

Likewise, in column B, I was expecting values in only the first 2 decimal places.

Is this the expected behavior? I get the same results in OpenOffice.

### Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
As Joe has pointed out it's due to floating point, in col A
In col B you are seeing the odd results because Excel only shows numbers to 15 significant places.
If you look at B12103 the extra 2 is the 15th digit, so it will show in col B but not in A as that has extra digits at the front.

Thanks for the explanations!

Glad we could help & thanks for the feedback

Replies
8
Views
152
Replies
4
Views
263
Replies
4
Views
181
Replies
10
Views
541
Replies
3
Views
103

1,203,545
Messages
6,056,033
Members
444,840
Latest member
RazzelDazel

### 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.

### Which adblocker are you using?

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

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