Rounding · About 4 minutes
Keep the whole number with INT
INT keeps the whole-number part and drops everything after the point. =INT( reads as "divide by 12 and keep the whole number", so 2.5 years becomes 2.
INT has only one part inside the parentheses: the number. There's no number of places to choose.
For positive numbers INT matches ROUNDDOWN(. For minus numbers it goes further down: INT( is -3, but ROUNDDOWN( is -2.
Exercise 1 of 3 · Worked example
In C2, work out Lakshmi's full years of service from her months (B2). Type =INT( B2 /12).
| A | B | C | |
|---|---|---|---|
| 1 | Employee | Months | Full years |
| 2 | Lakshmi | 30 | (answer cell) |
| 3 | Joseph | 47 | |
| 4 | Harpreet | 12 | |
| 5 | Sameer | 8 | |
| 6 | Divya | 65 |
Questions people ask
What does the INT function do in Excel?
It drops the decimals and keeps the whole number below: =INT( gives 7.
What is the difference between INT and ROUNDDOWN?
They agree on positive numbers. On negatives, INT goes to the lower number, so INT(-2.5) is -3, while ROUNDDOWN(-2.5,0) is -2.
How do I remove decimals without rounding?
Use INT for positive numbers, or TRUNC to cut the decimals off any number.
How do I get only the decimal part of a number?
Subtract the whole number: =B2. For 12.75, that gives 0.75.