# Round a number up in Excel

This tutorials shows how to Round a number up in Excel.

If you need to round a number up, regardless of the value of the digits being rounded (i.e. you want to force any number to round up, regardless of value) you can use the ROUNDUP function with a specified number of digits.

Formula

=ROUNDUP(number,digits)

## Explanation

In the example, the formula in cell D7 is

=ROUNDUP(B7,C7)

This tells Excel to take the value in B7 (PI) and round it to the number of digits in cell C7 (3) with a result of 3.142

Notice that even though the number in the 4th position to the right of the decimal is 1, it is still rounded up to 2.

In the table, the ROUNDUP function is used to round the same number (PI) to a decreasing number of digits, starting at 4 and moving down past zero to -1.

Note that positive numbers round to the right of the decimal point, while digits specified less than or equal to zero round to the left.

You can see that ROUNDUP is a rather heavy-handed function, so use with care.