CEILING.PRECISE function

Returns a number that is rounded up to the nearest integer or to the nearest multiple of significance. Regardless of the sign of the number, the number is rounded up. However, if the number or the significance is zero, zero is returned.

Syntax

CEILING.PRECISE(number, [significance])

The CEILING.PRECISE function syntax has the following arguments (argument: A value that provides information to an action, an event, a method, a property, a function, or a procedure.):

  • Number    Required. The value to be rounded.
  • Significance    Optional. The multiple to which number is to be rounded.

If significance is omitted, its default value is 1.

Remarks

  • The absolute value of the multiple is used, so that the CEILING.PRECISE function returns the mathematical ceiling irrespective of the signs of number and significance.

Example

The example may be easier to understand if you copy it to a blank worksheet.

ShowHow do I copy an example?

  1. Select the example in this article. If you are copying the example in Excel Online, copy and paste one cell at a time.
    Important: Do not select the row or column headers.

Selecting an example from Help

Selecting an example from Help

  1. Press CTRL+C.
  2. Create a blank workbook or worksheet.
  3. In the worksheet, select cell A1, and press CTRL+V. If you are working in Excel Online, repeat copying and pasting for each cell in the example.
    Important: For the example to work properly, you must paste it into cell A1 of the worksheet.
  4. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.

After you copy the example to a blank worksheet, you can adapt it to suit your needs.

 
1
2
3
4
5
6

7
A B
Formula Description
=CEILING.PRECISE(4.3) Rounds 4.3 up to nearest multiple of 1 (5)
=CEILING.PRECISE(-4.3) Rounds -4.3 up to nearest multiple of 1 (-4)
=CEILING.PRECISE(4.3, 2) Rounds 4.3 up to the nearest multiple of 2 (6)
=CEILING.PRECISE(4.3,-2) rounds 4.3 up to the nearest multiple of -2 (6)
=CEILING.PRECISE(-4.3,2) Rounds -4.3 up to the nearest multiple of 2 (-4)
=CEILING.PRECISE(-4.3,-2) Rounds -4.3 up to the nearest multiple of -2 (-4)
 
 
Applies to:
Excel 2010, Excel Web App