Excel function

ROUNDUPfunction

Rounds a number up (away from zero) to a given number of digits.

All versions
=ROUNDUP(A2, 0)
A
B
1
2
3
4
5
6
7

Click a cell in the table to change number. Click -7.89. Rounding a negative number up moves away from zero, to -8. Try breaking it on purpose to see the errors.

Result

4

number
A2You can also click a cell in the table

The cell with the number to calculate. Click another value in the table.

num_digits

Positive: decimal places. 0: whole number. Negative: tens, hundreds and so on.

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

  1. Example 1. Up to a whole number

    =ROUNDUP(3.14159, 0)

    4.

  2. Example 2. Boxes needed

    =ROUNDUP(A2/12, 0)

    Packing 12 per box, any leftover needs one more box.

  3. Example 3. Negative

    =ROUNDUP(-7.89, 0)

    -8.

Common mistakes

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.