Round a number down to the nearest specified multiple
=FLOOR(number, significance)
| Parameter | Description |
|---|---|
number |
The number that should be rounded. |
significance |
The multiple to use when rounding. |
The formulas below show how FLOOR rounds down values to a given multiple:
=FLOOR(10,3) // returns 9
=FLOOR(40,7) // returns 35
=FLOOR(320,25) // returns 300
=FLOOR(610,100) // returns 600
=FLOOR(-5.4,1) // returns -6
To round a number in A1 down to the nearest multiple of 5, you can use a formula like this:
=FLOOR(A1,5)
To round a number in A1 down to the nearest multiple of 5:
=FLOOR(A1,5) // round down to nearest 5
FLOOR can be used to set pricing after currency conversion, discounts, etc. For example, the formula below will round a number in A1 down to the next
=FLOOR(A1,1)-0.01
You can round pricing up to end in .99 with a similar formula based on the CEILING function:
=CEILING(A1,1)-0.01
FLOOR understands time formats, and can be used to round time down to a given multiple. For example, to round a time in A1 down to the previous 15 min
=FLOOR(A1,"0:15") // round time down to nearest 15 min