# Excel with two digits numbers after decimal has values in the 12th to 16th decimal positions

Occasional Visitor

# Excel with two digits numbers after decimal has values in the 12th to 16th decimal positions

Hi I recently came across a rounding issue with an excel sheet that was causing problems.  We were attempting to move money from one bucket to another, so the total sum from various line items should be null or absolute zero, but we were getting very small value in far decimal places.  We cleared all values beyond the second decimal point and continued to get a value that was not absolute zero.  We then took some of the numbers with two decimal digits and hard input them into a separate excel sheet.  The same issue came up in that test where there are values far decimal positions in the formula total where there are none in the hard input numbers of the equation values.  See the attached screenshot and formula sample of the test.

2 Replies

# Re: Excel with two digits numbers after decimal has values in the 12th to 16th decimal positions

This is due to unavoidable tiny rounding errors. Change the formula in A3 to

=ROUND(A2-A1,2)

See Floating-point arithmetic may give inaccurate results in Excel for some background.

# Re: Excel with two digits numbers after decimal has values in the 12th to 16th decimal positions

@slongazelCU   See the simple explanation in excelforum.com (click here). When you "crosspost", be sure to postings in other forums so that we do not waste time responding to questions that might have been answered elsewhere.