# How to Round A Number Down To The Nearest Integer

The INT function in Excel is a powerful tool that allows you to quickly and easily round a number down to the nearest integer. This article will provide a comprehensive overview of the INT function, including how to use it and how to create a cash denomination calculator.

Rounding down numbers. The INT function in Excel is a mathematical function that rounds a number down to the nearest integer. This means that if you provide a number with a decimal as the input, the INT function will return a whole number that is lower than the input number. For example, if you use the INT function on the number 3.7, it will return 3, while if you use it on -3.7, it will return -4.

The formula should look like this: =INT(number). The number can also be a cell referenced by a number.

Calculating the difference in dates in whole years. The INT function in Excel can be used in combination with the YEARFRAC function to calculate the number of whole years between two dates. The YEARFRAC function returns the number of years between two dates as a decimal value, while the INT function rounds the decimal value down to the nearest whole number.

The formula should look like this: =INT(YEARFRAC(date_start,date_end)). The dates can also be a cell that has a date value.

Removing Timestamps. The INT function in Excel can also be used to remove timestamps from date and time values. A timestamp is the portion of a date and time value that represents the time of day, such as hours, minutes, and seconds. By using the INT function, you can remove the timestamp and only keep the date portion of the value.

The formula should be as follows: =INT(date). The date value can be a cell referenced by a date value.

To only show the date without the hours and minutes, simply highlight the cells, right-click them, and choose “Format Cells.” This will open a window with multiple formatting options. In the “type” text box, remove the “hh:mm” and click “OK.”

Creating a Cash Denomination Calculator. The INT function in Excel can be used to create a cash denomination calculator. This type of calculator can be useful for determining the number of bills and coins needed to make a certain amount of money.

To create a cash denomination calculator, you will need to use the INT function in combination with SUMPRODUCT. The basic formula for this type of calculator is as follows:

=INT(amount/denomination)

where “amount” is the total amount of money, and “denomination” is the value of the bill or coin (e.g., \$100 for a hundred-dollar bill).

For example, if you want to calculate the number of \$100 bills needed to make \$500, the formula would be: =INT(500/100) = 5.

To calculate the number of coins needed to make the remaining amount, we will use the SUMPRODUCT function. This function multiplies the corresponding numbers in the given arrays or ranges and then returns the sum of those products.

For this example, we will have the formula: =SUMPRODUCT(\$B\$11:B\$11,\$B12:B12). The \$ signs in the formula lock the row or column after them, making the formula consistent when copied and pasted.

The reason it returned a zero is because the function tells Excel to multiply the numbers in the range B12:B12 that correspond to B11:B11, or simply 100*0.

Since we know that it is correct, we can then subtract 0 from the original amount, which in this case is 66. The formula should now be: =\$A12-SUMPRODUCT(\$B\$11:B\$11,\$B12:B12). This will return a 66.

We can then apply the basic formula for the denomination.

Now that we have the formula set, we can copy it to the remaining cells.

To explain the formula in the example above:

1. First, Excel multiplies how many instances a 100 bill is present (100*0=0)
2. Next, Excel multiplies how many instances a 50 bill is present. (50*1=50)
3. Then, Excel multiplies how many instances a 20 bill is present. (20*1=0)
4. Afterwards, Excel adds all these products and subtracts them from the original amount (66-50=16)
5. Then, Excel calculates the denomination with the difference from step 4 (16) from the current value (10). (16/10 =1.6)
6. Finally, with the INT function the quotient is rounded down to the nearest integer (1.6=1)

## Conclusion

The INT function in Excel is a versatile and powerful tool that can be used in a variety of scenarios. It allows you to quickly and easily round numbers down to the nearest integer, making it useful for calculations. It can be used to calculate the number of whole years between two dates, remove timestamps from dates and time values, and create a cash denomination calculator.