Excel - FLOOR Function



FLOOR Function

The Excel FLOOR function rounds numeric values downwards, near zero, close to the multiple defined in the second parameter, Significance. Researchers and business analysts generally use the FLOOR and CEILING functions to ensure consistency and make the datasets more readable. Loading lengthy data like financial data is difficult to process and takes more space in Excel.

Usually, the FLOOR function has been enhanced; you can use the positive and negative sign in the Significance parameter. However, in earlier versions, 2003 and 2007, the parameters inside the FLOOR function must contain similar signs, either positive or negative.

Compatibility

This advanced Excel function is compatible with the following versions of MS-Excel −

  • Excel for Microsoft 365
  • Excel for Microsoft 365 for Mac
  • Excel for the web
  • Excel 2021 for Mac
  • Excel 2019
  • Excel 2019 for Mac
  • Excel 2016
  • Excel 2013
  • Excel 2010
  • Excel 2007

Syntax

The syntax of FLOOR function is as follows −

FLOOR (number, significance)

Arguments

You can use the following arguments with the FLOOR function −

Argument Description Required / Optional
Number It specifies the numeric value. Required
Significance It specifies the multiple to round down. Required

Points to Remember

  • If the first argument, Number, represents a positive numeric value, it is rounded down and close to zero.
  • If the number represents a nonpositive value, it is rounded downward. And also far away from the number zero.
  • Any of the parameters is non-numeric; the Excel FLOOR function retrieves the error named #VALUE!.
  • If the numeric value is a complete multiple of the second parameter named Significance, then the FlOOR function retrieves the same number specified in the first argument.
  • If the first number and second argument significance contain positive and negative signs, then this function retrieves the error named #NUM! Value.

Examples of FLOOR Function

Practice the following examples to learn the use of the FLOOR function in Excel.

Example 1

If the specified number represents a positive numeric value, it is rounded down and close to zero.

Solution

Consider the sample worksheet where you must round down the cell values given in the C column. Write the formula =FLOOR(A5,2) and press the Enter tab.

Excel Floor Function 1

Excel Floor Function 2

Therefore, the given number is rounded down through the floor function

Example 2

If the given number represents a negative numeric value, it is rounded downward. And also far away from the number zero.

Solution

First, enter the negative integer in the A6 cell, type the formula =FLOOR(A6,3), and press Enter.

Excel Floor Function 3

As you can notice, the negative number is rounded down, which is far away from 0.

Excel Floor Function 4

Example 3

Any of the parameters is non-numeric; the Excel FLOOR function retrieves the error named #VALUE!.

Solution

First, enter the text in the A7 cell, write the formula =FLOOR(A7,2) in the B7 cell, and press the Enter tab.

Excel Floor Function 5

Excel Floor Function 6

Note − Ensure that both parameters contain only numeric values; otherwise, #VALUE! error may occur.

Example 4

If the numeric value is a complete multiple mentioned in the second parameter, the numeric value will remain the same.

Solution

First, you need the specific integer in the A8 cell and utilize the formula =FLOOR(A8,2) in the B8 cell and press Enter.

Excel Floor Function 7

Excel Floor Function 8

As you may observe in the screenshot, the FLOOR function retrieves the same numeric value as the specific A8 cell. This is because the significance value 2 is an exact multiple of 100.

Example 5

If the first number and second argument significance contain positive and negative signs, then this function retrieves the error named #NUM!

Solution

Write the expression =FLOOR(A7,-1) in the B7 cell. Here, you can observe that the number 87.12 is positive, and the significance value is -1. So, once you hit Enter, then #NUM! error will arise.

Excel Floor Function 9

Excel Floor Function 10
Advertisements