What is the CEILING function?
=CEILING(number, significance)CEILING rounds a number up to the nearest multiple of significance. Use it to round prices up to the next 10 or 100, or quantities up to a full pack.
According to Microsoft, a number that is already a multiple stays the same. For negative numbers the direction depends on the sign of significance: a negative significance rounds away from zero (smaller), a positive one rounds toward zero.
Arguments
- number
- The number or cell to round up.
- significance
- The multiple to round to. A positive number with a negative significance returns #NUM!.
CEILING examples
Example 1. Round up to the next 100
=CEILING(1234, 100)1234 rounded up to a multiple of 100 is 1300.
Example 2. Prices in steps of 0.05
=CEILING(4.42, 0.05)An example from Microsoft: 4.45. Useful for avoiding pennies.
Example 3. Negative numbers and the sign of significance
=CEILING(-2.5, 2)Significance is positive, so it rounds toward zero: -2. CEILING(-2.5, -2) is -4.
Common mistakes
Confusing it with ROUNDUP
ROUNDUP rounds to a number of digits; CEILING rounds to a multiple. For steps like 5 or 12 that are not powers of 10, use CEILING.
Mismatched signs
A positive number with a negative significance returns #NUM!.
FAQ
- How is CEILING.MATH different?
- CEILING.MATH lets you omit significance and uses a mode argument for negative numbers. CEILING needs both arguments.
- How do I round an order up to full boxes?
- Use the box size as significance, for example =CEILING(quantity, 12).