Excel CEILING function
The CEILING function returns a number rounded up to a nearest multiple of significance. For example, =CEILING(10.12,0.2) returns 10.2, it round 10.12 to nearest multiple of 0.2.
Syntax and arguments
The CEILING function rounds number to nearest multiple.
1. The CEILING function will return the #VALUE! error value if either arguments is nonnumeric value.
2. If the number is an exact multiple of significance, no change occurs.
3. The number is negative, but the significance is positive, the result is rounded up towards zero.
4. Both of the number and significance are negative, the result is rounded down away from zero.
5. The number is positive, but the significance is negative, the result returns #NUM! value.
Usage and Examples
|=CEILING(1.3,1)||Round 1.3 up to nearest multiple of 1||2|
|=CEILING(-3,-2)/td>||Round -3 up to nearest multiple of -2||-4|
|=CEILING(-3,2)/td>||Round -3 up to nearest multiple of 2||-2|
|=CEILING(10,0.13)/td>||Round 10 up to nearest multiple of 0.13||10.01|
Download Sample File
The CEILING.MATHfunction rounds number up to nearest multiple or the nearest integer, and the Mode argument decide to round negative toward or far away from zero. For instance, =CEILING.MATH(-10.12,0.2,1)returns -10.2, =CEILING.MATH(-10.12,0.2,0)returns -10
The CEILING.PRECISEfunction rounds number up to nearest integer or nearest multiple, it ignore sign of number, round number always up.
Round number to nearest 5,10, 50 or 100 number in Excel
This article provides some simple formulas to round numbers to nearest specific number, and also introduce the formulas to round numbers to next or last nearest one.