What Does It Do ?
|
||||||||||||||||||||||||||||||||||
This function
rounds a number down to the nearest whole number.
|
||||||||||||||||||||||||||||||||||
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
|
||||||||||||||||||||||||||||||||||
Birth Date
|
Term Start
|
Age
|
||||||||||||||||||||||||||||||||
1-Jan-80
|
1-Sep-88
|
8.668035592
|
=(D27-C27)/365.25
|
|||||||||||||||||||||||||||||||
5-Feb-81
|
1-Sep-88
|
7.570157426
|
||||||||||||||||||||||||||||||||
20-Oct-79
|
1-Sep-88
|
8.8678987
|
||||||||||||||||||||||||||||||||
1-Mar-81
|
1-Sep-88
|
7.504449008
|
||||||||||||||||||||||||||||||||
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
|
||||||||||||||||||||||||||||||||||
Birth Date
|
Term Start
|
Age
|
||||||||||||||||||||||||||||||||
1-Jan-80
|
1-Sep-88
|
9
|
=(D38-C38)/365.25
|
|||||||||||||||||||||||||||||||
5-Feb-81
|
1-Sep-88
|
8
|
||||||||||||||||||||||||||||||||
20-Oct-79
|
1-Sep-88
|
9
|
||||||||||||||||||||||||||||||||
1-Mar-81
|
1-Sep-88
|
8
|
||||||||||||||||||||||||||||||||
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
|
||||||||||||||||||||||||||||||||||
Birth Date
|
Term Start
|
Age
|
||||||||||||||||||||||||||||||||
1-Jan-80
|
1-Sep-88
|
8
|
=INT((D49-C49)/365.25)
|
|||||||||||||||||||||||||||||||
5-Feb-81
|
1-Sep-88
|
7
|
||||||||||||||||||||||||||||||||
20-Oct-79
|
1-Sep-88
|
8
|
||||||||||||||||||||||||||||||||
1-Mar-81
|
1-Sep-88
|
7
|
||||||||||||||||||||||||||||||||
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.
|
Welcome to Easy Web Tips! We’re here to simplify navigating the digital world with beginner-friendly tutorials on essential tools and online platforms. From setting up Google accounts to mastering Gmail, organizing files in Google Drive, and even learning quick video editing tips, our step-by-step guides help you become more productive and secure online.
Showing posts with label INT Formula. Show all posts
Showing posts with label INT Formula. Show all posts
Sunday, September 25, 2011
INT Formula
Subscribe to:
Posts (Atom)