INT function
INT rounds a number down to the largest whole number not greater than it. It moves negative numbers further from zero, so INT of -3.2 is -4.
Example
Read it as a sentence: round -3.2 down to the next whole number, which gives -4.
A
B
C
D
1
-4
2
3
Syntax
INT(number)
-
number(required) - The value to round down.
Returns: The largest whole number not greater than the input.
What Excel actually returns
Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.
| Formula | Excel shows | Case |
|---|---|---|
=INT(0.5) | 0 | Positive |
=INT(0) | 0 | Zero |
=INT(-0.5) | -1 | Negative |
=INT(2) | 2 | Larger value |
=INT("0.5") | 0 | Text number "0.5" |
=INT(TRUE) | 1 | TRUE |
=INT("abc") | #VALUE! | Non-numeric text |
=INT(Data!E4) | #DIV/0! | Error cell propagates |
The Data sheet these formulas read
A cell that starts with = holds that formula.
E
1
5
2
abc
3
TRUE
4
=1/0
Data
Watch out for
- INT(-3.2) is -4, not -3. Use TRUNC to just drop decimals.
- Handy for stripping the time from a date-time: INT(NOW()).
Where it works
- Excel
- INT is in every version of Excel from 2007 on.
- Google Sheets
- Same name, same behaviour for everyday use.
Part of Math and trig functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .