Example 1
Drop the decimals
B2 =INT(A2)
Result: 8
INT goes down to the next lower integer. ROUND would give 9.
B2 =INT(A2) returns 8
Rounds a number down to the nearest whole number. Negative numbers move to the next lower integer, so -8.9 becomes -9.
Syntax
=INT()
All versions of Excel.
Try it
Edit the formula in B2 or change the inputs. The sheet recalculates as you type.
B2 =INT(A2) returns 8
INT returns the whole-number part of a number by rounding down to the next lower integer. =INT(8.9) returns 8, and =INT(8) stays 8.
For positive numbers INT simply drops the decimals. For negative numbers it goes further from zero: =INT(-8.9) returns -9, because -9 is the next integer below -8.9. This is the single most important thing to know about INT. If you want to drop the decimals without changing the direction, use TRUNC, which returns -8.
=INT(B2/12) returns the complete years in B2 months. Pair it with MOD for the leftover: =MOD(B2, 12).=B2-INT(B2) returns what is after the point, 0.75 for 12.75. For negative numbers this returns the positive remainder.=INT(A2) returns the date at midnight. Format the cell as a date.=B2=INT(B2) is TRUE when B2 has no decimal part.=INT(RAND()*6)+1 simulates a die.FLOOR.MATH with no significance gives exactly the same as INT, and can also round down to a multiple.INT is exact about its input. A calculation on decimals that should give a whole number can fall a hair short of it, and INT then returns the integer below. If =INT(B2*100) comes out one lower than you expect, wrap the calculation in ROUND first: =INT(ROUND(B2*100, 0)). Also, INT only accepts numbers: a text value such as "n/a" returns #VALUE!.
B2 or B2/12.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
B2 =INT(A2)
Result: 8
INT goes down to the next lower integer. ROUND would give 9.
B2 =INT(A2) returns 8
Example 2
B2 =INT(A2)
Result: -9
-9 is below -8.9. TRUNC and ROUNDDOWN would return -8.
B2 =INT(A2) returns -9
Example 3
B2 =A2-INT(A2)
Result: 0.75
Taking the whole part away leaves what follows the decimal point.
B2 =A2-INT(A2) returns 0.75
Example 4
B2 =INT(A2)
Result: 12-Feb-2025
A date-time is a serial number plus a fraction of a day. INT keeps the date at 45,700 and drops the 0.75 (6 pm).
B2 =INT(A2) returns 12-Feb-2025
Example 5
B2 =INT(A2/12)
Result: 6
77 months is 6.42 years. INT keeps the 6 complete years.
B2 =INT(A2/12) returns 6
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In C2, return the number of complete years in the months in B2. Fill it down to C6.
Answer in C2, then it fills down to C6.
INT(8.9) is 8. If you wanted 9, use ROUND.#VALUE!. Keep units out of the number cell.It rounds a number down to the nearest whole number. INT(8.9) is 8, and INT(-8.9) is -9.
They agree for positive numbers. For negative numbers INT goes to the next lower integer (-8.9 becomes -9), and TRUNC just removes the decimals (-8.9 becomes -8).
Subtract the whole part: `=B2-INT(B2)`. For 12.75 this returns 0.75. For negative numbers it returns the positive remainder, since INT rounds down.
Use `=INT(A2)` and format the result as a date. The time is stored as the fraction of the day, and INT removes it.
Only for positive numbers. ROUNDDOWN moves towards zero and has a digits argument. INT always moves to the lower integer and has no digits argument.
INT is taught in Excel foundations, lesson 14: ROUNDUP, ROUNDDOWN and INT. Each lesson is a short, graded exercise like the one above.