The Excel Ceiling.Precise function rounds a supplied number up (regardless of the number's sign), to the nearest multiple of a given number.
The syntax of the function is:
|number||-||The initial number that is to be rounded up|
An optional argument that specifies the multiple of significance to round the supplied number up to.If omitted, the significance argument takes on the default value 1
Note that the arithmetic sign of the [significance] argument is ignored. The supplied number is rounded up for both positive and negative [significance] values.
The following spreadsheet shows the Excel Ceiling.Precise function used with several different significance values, on the positive and negative numbers 22.25 and -22.25.
The functions are shown in the spreadsheet on the left and the results are shown in the spreadsheet on the right.
The above examples show how:
Further information and examples of the Excel Ceiling.Precise function can be found on the Microsoft Office website.
If you get an error from the Excel Ceiling.Precise function, this is likely to be the following :
|#VALUE!||-||Occurs if one or both of the supplied arguments are non-numeric.|