The Excel FLOOR function is a valuable mathematical function that enables users to round numbers down to the nearest multiple of a specified value. This can be particularly useful in financial modeling, budgeting, or any scenario where precise rounding control is necessary.
Syntax
FLOOR(number, significance)
- number: The numeric value you wish to round down.
- significance: The multiple to which you want to round the number down.
Example #1
=FLOOR(10.75, 0.5)
In this example, the function rounds 10.75 down to the nearest multiple of 0.5, resulting in 10.5.
Example #2
=FLOOR(23, 5)
Here, the function rounds the number 23 down to the nearest multiple of 5, which is 20.
Example #3
=FLOOR(-3.7, 1)
In this case, the function rounds -3.7 down to the nearest multiple of 1, producing a result of -4.
Error handling
- NUM!: This error occurs if the
significance
argument is zero or negative. - VALUE!: This error indicates that the
number
orsignificance
argument is non-numeric.