Applies ToExcel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2024 Excel 2024 for Mac Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2016 Excel Web App

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

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.