Excel function

FLOORfunction

Rounds a number down to the nearest multiple of significance.

All versions
=FLOOR(A2, 0.5)
A
B
1
2
3
4
5
6
7

Click a cell in the table to change number. Click -2.5 and set significance to 2, then -2. The result changes from -4 to -2. Try breaking it on purpose to see the errors.

Result

3

number
A2You can also click a cell in the table

The cell with the number to calculate. Click another value in the table.

significance

The multiple to round down to. 0 returns #DIV/0!.

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

  1. Example 1. Down to a multiple of 2

    =FLOOR(3.7, 2)

    An example from Microsoft: 2.

  2. Example 2. Steps of 0.1

    =FLOOR(1.58, 0.1)

    1.5. Cuts by a step instead of by decimal places.

  3. Example 3. Drop everything under 100

    =FLOOR(1234, 100)

    1200, the same as ROUNDDOWN(1234, -2).

Common mistakes

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.