CEILING.PRECISE function: Description, Usage, Syntax, Examples and Explanation
What is CEILING function in Excel?
CEILING function is one of the Math and Trig functions in Microsoft Excel that 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 of CEILING function
CEILING.PRECISE(number, [significance])
The CEILING.PRECISE function syntax has the following arguments:
- Number: 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.
CEILING formula explanation
- 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 of CEILING function
Steps to follow:
1. Open a new Excel worksheet.
2. Copy data in the following table below and paste it in cell A1
Note: For formulas to show results, select them, press F2 key on your keyboard and then press Enter.
You can adjust the column widths to see all the data, if need be.
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 |