What is the FLOOR function?
=FLOOR(number, significance)FLOOR rounds a number down to the nearest multiple of significance. Use it to cut times to 15-minute steps or quantities down to full packs.
According to Microsoft, positive numbers round toward zero and negative numbers round away from zero (smaller). When both the number and significance are negative, it rounds toward zero, so FLOOR(-2.5, -2) is -2.
Arguments
- number
- The number or cell to round down.
- significance
- The multiple to round to. A positive number with a negative significance returns #NUM!; 0 returns #DIV/0!.
FLOOR examples
Example 1. Down to a multiple of 2
=FLOOR(3.7, 2)An example from Microsoft: 2.
Example 2. Steps of 0.1
=FLOOR(1.58, 0.1)1.5. Cuts by a step instead of by decimal places.
Example 3. Drop everything under 100
=FLOOR(1234, 100)1200, the same as ROUNDDOWN(1234, -2).
Common mistakes
Significance of 0
FLOOR returns #DIV/0! when significance is 0 (CEILING returns 0).
Mismatched signs
FLOOR(2.5, -2) returns #NUM! because the number is positive and significance is negative.
FAQ
- How is it different from ROUNDDOWN?
- ROUNDDOWN works with digits; FLOOR works with multiples. FLOOR is easier for steps like 5 or 15 minutes.
- Is there FLOOR.MATH?
- Yes. It lets you omit significance and uses a mode argument for negative numbers.