INT or Integer function in excel is used to return the nearest integer of a given number, this function is used when we have a large number of data sets and each data in different format let say in float then this function returns the integer part of the number, for example for INT(5.4) will give result as 5.
INT Function in Excel
The Microsoft Excel INT Function is a function that is responsible for returning the integer portion of a number. It works by the process of rounding down a decimal number to the integer. It is a built-in Excel function and is categorized as a Math & Trig Function in Excel. It is used either as a worksheet function or a VBA functionWorksheet Function Or A VBA FunctionThe worksheet function in VBA is used when we need to refer to a specific worksheet. When we create a module, the code runs in the currently active sheet of the workbook, but we can use the worksheet function to run the code in a particular worksheet.. It can be entered as a part of the INT formula, a cell of a worksheet. Here, negative numbers become more negative because the function rounds down. For example, INT (10.6) returns 10 and INT (-10.6) returns -11.
It accepts the following parameters and arguments:
number – The number to be entered from which you want an integer.
The return value will be a numeric integer.
- It can be used when you want only the integer part of a number, which is in its decimal form, with rounding the number down. For example, INT (3.89) returns the value 3.
- Integer function always rounds down the number entered in the formula to the next lowest integer value.
- You can also use the TRUNC function in excelTRUNC Function In ExcelTrunc is an excel function to minimize decimal numbers to integers. TRUNC eliminates the fractional part of decimal and returns only the integer part under the required precision. It was first introduced in the excel 2007. to get the integer part of both negative and positive numbers.
How to Open the Integer Function in Excel?
Below are the steps to open integer function in excel –
- You can simply enter the desired Integer excel formula in the required cell to attain a return value on the argument.
- You can manually open the INT formula dialogue box in the spreadsheet and enter the logical values to attain a return value.
- Consider the screenshot below to see the INT Function in excel option under the Math u0026 Trig Function menu.
- Click on the INT function option. The INT formula in the excel dialogue box will open where you can put the argument values to obtain a return value.
All Rounding Functions in Excel (Including INT)
There are a total of fifteen rounding functions in ExcelRounding Functions In ExcelROUND is a built-in Excel function that calculates the round number of a given number using the number of digits as an argument. The number to be rounded up to and the number of digits to be rounded up to are the two arguments to this formula.. Consider the three tables below which specify each function and their behavior.
Please note that in the below-given tables, “more” is depicted by “+” and less is depicted by “-”.
Functions Used to Round a Number to an Integer Value
Functions Used to Round a Number to a Specified Number of Decimal Places
Functions Used to Round a Number to a Supplied Multiple of Significance(MS)
How to Use INT in Excel?
Excel INT function is very simple and easy to use. Let’s look below at some of the examples of INT Function in Excel. These examples will help you in exploring the use of the INT function in Excel.
Based on the above INT in Excel spreadsheet, let’s consider these examples and see the SUBTOTAL functionSUBTOTAL FunctionThe SUBTOTAL excel function performs different arithmetic operations like average, product, sum, standard deviation, variance etc., on a defined range. return based on the syntax of the INT formula in excel.
Consider the below screenshots of the above Integer function in excel examples for clear understanding.
Apply the INT formula =INT(A1) to get 214
Here we apply the INT formula in Excel =INT(A2) to get 3
Now apply the INT Excel Function here =INT(A3) to get -4
Using the formula =INT(-3.6) to get -4
Here are a few examples where it is generally used.
- Extracting dates from a date and time table
- Cash denomination calculator
- Getting age from birthday
- Rounding a number to ‘n’ significant digits
- Getting days, hours, and minutes between dates
- Calculating years between dates
- Getting the integer part of a number
INT Excel Function Errors
If you get any kind of error from the INT Excel Function, then it can be any one of the following –
- #NAME? – This error occurs when Excel does not recognize the text in the formula. You may have entered a wrong text in the syntax of the function.
- #VALUE! – If you enter a wrong type of argument in the syntax of the function, you will be getting this error in Microsoft ExcelError In Microsoft ExcelErrors in excel are common and often occur at times of applying formulas. The list of nine most common excel errors are - #DIV/0, #N/A, #NAME?, #NULL!, #NUM!, #REF!, #VALUE!, #####, Circular Reference..
- #REF! – Microsoft Excel will display this error if the formula refers to a cell that is not valid.
Things to Remember
- It returns the integer position of the number.
- It rounds down the decimal number to its integer.
- It is categorized under Math & Trig function.
- If you use the Integer function, negative numbers become more negative because it rounds down the number. For example, INT (10.6) returns 10 and INT (-10.6) returns -11.
This has been a guide to INT Function in Excel. Here we discuss the Integer Formula in excel and how to use it in excel along with excel example and downloadable excel templates. You may also look at these useful functions in excel –