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:-
- Use of TRUNC function
- Difference between INT and TRUNC functions
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 firstname.lastname@example.org