Calculate Integer Part of a Number – Excel & Google Sheets

This tutorial will demonstrate how to calculate the integer portion of a number in Excel and Google Sheets.

Integer Value Main

Integer Portion of Number

To calculate the integer portion of a number, use the TRUNC Function to “truncate” off the decimal.

Trunc

The TRUNC Function simply cuts off the decimal, it does not round.

INT and ROUND Functions

You might be wondering about the INT or ROUND Functions.

The INT Function will work exactly the same as TRUNC for positive numbers, but for negative numbers INT rounds numbers down away from zero.

TRUNC Vs INT

The ROUND Function rounds number, which can give different answers than the other functions.

TRUNC INT Round

Calculate Integer Part of a Number in Google Sheets

All of the above examples work exactly the same in Google Sheets as in Excel.

Integer Value Google