Wednesday, January 9, 2013

Truncate to zero decimal place formula

Let's say the cell reference of A2 in the formula below has a value of 111.13:
=trunc(A2,0)
The value that would be displayed as a result of the formula above would be111. The number, 0 after the cell reference of A2 and the comma is telling excel to truncate the value of 111.13 to 0 decimal place. Giving  the value of 111.

0 comments:

Post a Comment

www.cineclouds.com. Powered by Blogger.