INT Formula in Excel

 

What Does It Do ?

This function rounds a number down to the nearest whole number.

image

Syntax

=INT(Number)

Formatting

No special formatting is needed.

Example

The following table was used by a school to calculate the age a child when the school year started.

A child can only be admitted to school if they are over 8 years old.

The Birth Date and the Term Start date are entered and the age calculated.

Table 1 shows the age of the child with decimal places

Table 1

image

Table 2 shows the age of the child with the Age formatted with no decimal places.

This has the effect of increasing the child age.

Table 2

image

Table 3 shows the age of the child with the Age calculated using the =INT() function to remove the decimal part of the number to give the correct age.

Table 3

image

Note

The age is calculated by subtracting the Birth Date from the Term Start to find the age of the child in days.

The number of days is then divided by 365.25

The reason for using 365.25 is to take account of the leap years.

1 comment:

Excel Learner said...

I would like to ask you are int and truncate functions different in terms of results.

Post a Comment