# Round a number up

=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 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.

## Excel Formula Training

Formulas are the key to getting things done in Excel. In this accelerated training, you'll learn how to use formulas to manipulate text, work with dates and times, lookup values with VLOOKUP and INDEX & MATCH, count and sum with criteria, dynamically rank values, and create dynamic ranges. You'll also learn how to troubleshoot, trace errors, and fix problems. Instant access. See details here.