Saturday, January 5, 2013

Truncate back minus 1 decimal place

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

0 comments:

Post a Comment

www.cineclouds.com. Powered by Blogger.