What is the ROUNDUP function?
=ROUNDUP(number, num_digits)ROUNDUP always rounds a number up to the digits you choose. Use it when a result must never come up short, such as boxes needed or minimum staff.
Negative numbers round away from zero: -7.89 rounded up to a whole number is -8, not -7. Click a negative value in the table to check.
Arguments
- number
- The number or cell to round up.
- num_digits
- Positive: decimal places. 0: whole number. Negative: left of the decimal point (tens, hundreds).
ROUNDUP examples
Example 1. Up to a whole number
=ROUNDUP(3.14159, 0)4.
Example 2. Boxes needed
=ROUNDUP(A2/12, 0)Packing 12 per box, any leftover needs one more box.
Example 3. Negative
=ROUNDUP(-7.89, 0)-8.
Common mistakes
Expecting negatives to go up
ROUNDUP moves away from zero, so negative numbers get smaller.
Thinking cell formatting does the same
Decrease Decimal only changes how a number looks; the value stays the same. Use a function when later calculations should use the changed value.
FAQ
- When does it differ from ROUND?
- When the dropped digit is below 5. ROUND(3.14, 0) is 3; ROUNDUP(3.14, 0) is 4.
- Can I omit num_digits?
- No. Use 0 for a whole number.