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:

  • 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

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

Formula

Description

Result

=CEILING.PRECISE(4.3)

Rounds 4.3 up to the nearest multiple of 1.

5

=CEILING.PRECISE(-4.3)

Rounds -4.3 up to the nearest multiple of 1. Rounds toward 0 because the number is negative.

-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. Rounds toward 0 because the number is negative.

-4

=CEILING.PRECISE(-4.3,-2)

Rounds -4.3 up to the nearest multiple of -2.

-4

Applies To: Excel 2013, Excel 2010, Excel Starter, Excel Online, Excel 2016 for Mac



Was this information helpful?

Yes No

How can we improve it?

255 characters remaining

To protect your privacy, please do not include contact information in your feedback. Review our privacy policy.

Thank you for your feedback!

Support resources

Change language