ID EN
#Math

ROUNDUP

Excel Functions

Round a number up to a given number of digits

Syntax

EXCEL
=ROUNDUP(number, num_digits)

Arguments

Parameter Description
number The number to round up.
num_digits The place at which number should be rounded.

Return Value

A rounded number.

Details

The ROUNDUP function rounds numbers up. Unlike standard rounding, where only numbers less than 5 are rounded down, ROUNDUP rounds all numbers up. For example: ROUNDUP takes two arguments, number and num_digits. Number is the number to be rounded, and num_digits is the place at which the number should be rounded. When num_digits is greater than zero, the ROUNDUP function rounds on the right side of the decimal point. When num_digits is less or equal to zero, the ROUNDUP function rounds on the left side of the decimal point. Use zero (0) for num_digits to round to the nearest integer. The table below summarizes this behavior: The ROUNDUP function works like the ROUND function except that it always rounds up. The steps look like this: We can get the same result with the ROUNDDOWN function lik

Examples

Example 1

The ROUNDUP function rounds numbers up. Unlike standard rounding, where only numbers less than 5 are rounded down, ROUNDUP rounds all numbers up. For

EXCEL
=ROUNDUP(3.001,0) // returns 4
How ROUNDUP works

We can get the same result with the ROUNDDOWN function like this:

EXCEL
=ROUNDUP(2.123,0) // returns 3
=ROUNDUP(2.123,1) // returns 2.2
=ROUNDUP(2.123,2) // returns 2.13
=ROUNDUP(2.123,3) // returns 2.123
Round to right of the decimal

To round up values to the right of the decimal point, use a positive number for digits:

EXCEL
=ROUNDUP(A1,1) // Round up to nearest tenth (0.1)
=ROUNDUP(A1,2) // Round up to nearest hundredth (0.01)
=ROUNDUP(A1,3) // Round up to nearest thousandth (0.001)
=ROUNDUP(A1,4) // Round up to nearest ten-thousandth (0.0001)
Round to left of the decimal

To round up values to the left of the decimal point, use zero or a negative number for digits:

EXCEL
=ROUNDUP(A1,0) // Round up to nearest whole number
=ROUNDUP(A1,-1) // Round up to nearest 10
=ROUNDUP(A1,-2) // Round up to nearest 100
=ROUNDUP(A1,-3) // Round up to nearest 1000
=ROUNDUP(A1,-4) // Round up to nearest 10000
ROUNDUP with negative numbers

Excel's ROUNDUP function always rounds numbers up away from zero, to a specified number of digits. You can see this behavior in the examples below:

EXCEL
=ROUNDUP(-2.123,0) // returns -3
=ROUNDUP(-2.123,1) // returns -2.2
=ROUNDUP(-2.123,2) // returns -2.13
=ROUNDUP(-2.123,3) // returns -2.123
Nesting calculations inside ROUNDUP

Other operations and functions can be nested inside the ROUNDUP function. For example, to round the result of A1 divided by B1, you can use a formula

EXCEL
=ROUNDUP(A1/B1,0) // round up result to nearest integer

See Also

ROUND ROUNDDOWN ROUNDUP CEILING FLOOR MROUND INT TRUNC