CEILING.PRECISE function
CEILING.PRECISE rounds a number up to the next multiple of the significance you choose, whatever the sign of the inputs. It is a simpler cousin of CEILING.MATH.
Example
Read it as a sentence: round -4.1 up toward zero to the next multiple of 2, which gives -4.
A
B
C
D
1
-4
2
3
Syntax
CEILING.PRECISE(number, [significance])
Arguments in [square brackets] are optional.
-
number(required) - The value to round up.
-
significance(optional) - The multiple to round to. Defaults to 1; its sign is ignored.
Returns: The smallest multiple of significance that is greater than or equal to the number.
What Excel actually returns
Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.
| Formula | Excel shows | Case |
|---|---|---|
=CEILING.PRECISE(2.5) | 3 | 2.5 |
=CEILING.PRECISE(-2.5) | -2 | -2.5 |
=CEILING.PRECISE(2.5,2) | 4 | 2.5, sig 2 |
=CEILING.PRECISE(-2.5,2) | -2 | -2.5, sig 2 |
=CEILING.PRECISE(2.5,0) | 0 | Sig 0 |
=CEILING.PRECISE(2.5,-2) | 4 | Negative sig -2 |
=CEILING.PRECISE(-2.5,-2) | -2 | -2.5, sig -2 |
=CEILING.PRECISE("abc") | #VALUE! | Text |
Watch out for
- Negative numbers round toward zero, so -4.1 becomes -4, not -6.
Where it works
- Excel
- CEILING.PRECISE arrived in Excel 2010. Older versions do not have it.
- Google Sheets
- Same name, same behaviour for everyday use.
Part of Math and trig functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .