The Excel Ceiling.Precise function is one of fifteen rounding functions in Excel.A full list, along with comparison tables, is provided on the Excel Rounding Functions page.
The Excel Ceiling.Precise function rounds a supplied number up (regardless of the number's sign), to the nearest multiple of a given number.
I.e. Positive values are rounded away from zero (becoming more positive) and negative numbers are rounded towards zero (becoming less negative).
The syntax of the Ceiling.Precise function is:
Where the arguments are as follows:
|number||-||The number that is to be rounded up.|
|[significance]||-||[significance] argument takes on the default value 1 (i.e. round up to the nearest integer).If omitted, the|
Note that the arithmetic sign of the [significance] argument is ignored. The supplied number is rounded up for both positive and negative [significance] values.
In column B of the following spreadsheet, the Excel Ceiling.Precise function is used to round up the positive and negative numbers 22.25 and -22.25, to several different significance values.
The above examples show how:
Further information and examples of the Excel Ceiling.Precise function are provided on the Microsoft Office website.
If you get an error from the Excel Ceiling.Precise function, this is likely to be the #VALUE! error:
|#VALUE!||-||Occurs if one or both of the supplied arguments are non-numeric.|