Excel INT function
INT drops the fractional part, which for positive numbers is the same as truncating, but for negatives it goes one step lower. Its most useful role is splitting date from time: dates are whole days and times are fractions, so INT(timestamp) leaves only the day.
Math & conditional sums · Available in: Excel 97 and every desktop version since
Syntax
INT(number)What it returns The largest integer less than or equal to the number, rounding toward negative infinity.
| Arguments | ||
|---|---|---|
| number | required | The number to round down to an integer. |
Examples
Date out of a timestamp
| Timestamp | Date only |
| 2026-11-20 14:35 |
= INT(A2)→ 2026-11-20(显示为 0:00)
2026-11-20 14:35 has the serial value 46336.6076…, and INT gives 46336, which is midnight that day. Format the cell as a date and only the date shows.
Negatives go lower
| Value | INT |
| -2.5 |
= INT(A2)→ -3
The largest integer not exceeding -2.5 is -3, not -2. That breaks the "floor equals truncate" assumption, so check the convention wherever negatives are possible.
Common mistakes
- 1.Assuming INT just removes decimals. On negatives it goes lower; TRUNC is the pure cut.
- 2.Forgetting to format the result after taking INT of a time and reading 46336 as a mistake.
- 3.Using it to round: INT(2.9) is 2, not 3.
How to use it
- 1.Click the cell where the result should appear.
- 2.Type = then the function name, and press Tab to accept it.
- 3.Enter each argument separated by commas; ranges can be dragged with the mouse.
- 4.Press Enter. Drag the fill handle down if the same formula applies to more rows.
Frequently asked questions
What is the syntax of INT?
INT(number). What it returns: The largest integer less than or equal to the number, rounding toward negative infinity.
Which Excel versions support INT?
Excel 97 and every desktop version since. It is available in every desktop version unless the note above says otherwise.
Why does INT return an error instead of a value?
Assuming INT just removes decimals. On negatives it goes lower; TRUNC is the pure cut.