# Round a number up

An excel formula to round a number up

### Related Functions

`=ROUNDUP(number,digits)`

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.

In the example, the formula in cell D6 is

`=ROUNDUP(B6,C6)`

This tells Excel to take the value in B6 (PI) and round it to the number of digits in cell C6 (-1) with a result of 10

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 -1 and moving down past zero to 4.

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.