In this article, you will learn how to use truncate function in Microsoft Excel and what is the use of it?
What is truncate function?
Truncate is a number to an integer by removing the decimal or fractional part of number.
Enter the Trunc function in cell B1:- =TRUNC(A1,0)
To solve this problem we can use INT function as well but INT function only chops off decimal from positive numbers.
Let’s take an example and understand.
We have negative number in cell A1
Enter the INT function in cell B1:- =INT(A1)
Now Enter TRUNC function in cell C1:- =TRUNC(A1,0)
Key take away:-
We would love to hear from you, do let us know how we can improve, complement or innovate our work and make it better for you. Write us at email@example.com
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.