The CEILING.MATH function

Rounds a number up to the nearest multiple you choose, such as the next 5, 10 or 0.25. Without a multiple it rounds up to the next whole number.

Syntax

CEILING.MATH(number, [significance], [mode])
number
The number to round up.
significance (optional)
The multiple to round to. Left out, 1.
mode (optional)
For negative numbers only. 0 or left out rounds toward zero, any other number rounds away from zero.

Examples

D1=CEILING.MATH(B1/B2)
ABCD
1Items to ship1306
2Items per box24
B1=CEILING.MATH(23,5)
AB
125

In plain words: Round 23 up to the nearest multiple of 5.

B1=CEILING.MATH(7.1,0.25)
AB
17.25

Questions

What is the difference between CEILING.MATH and ROUNDUP?

ROUNDUP rounds up to a number of decimals, such as 0.1 or 0.01. CEILING.MATH rounds up to any multiple, such as 5, 12 or 0.25.

Should I use CEILING or CEILING.MATH?

Use CEILING.MATH in new sheets. CEILING is the older version; it needs the multiple and handles negative numbers differently.

Related functions