# How to Use ROUNDUP Function in Excel (6 Examples)

The ROUNDUP function in Excel rounds a number up or to the higher side either right or left to the decimal point. In this article, you will get to know the introduction and usage of the ROUNDUP function in Excel.

## ROUNDUP Function: Syntax & Arguments

â¦¿ Function Objective

The ROUNDUP function rounds a number up, away from zero.

â¦¿ Syntax

ROUNDUP(number, num_digits)

â¦¿ Arguments

Argument Required/Optional Explanation
number Required The number to round up.
num_digits Required The place at which the number should be rounded.

â¦¿ Return Value

The ROUNDUP function returns a rounded number.

â¦¿ Version

The ROUNDUP function has been introduced in Excel 2003 version and available for all versions after that.

## How to Use The ROUNDUP Function in Excel: 6 Examples

Here, we have used the following two tables for demonstrating the applications of the ROUNDUP function in Excel.

For creating the article, we have used Microsoft Excel 365 version, you can use any other versions according to your convenience.

### 1. Rounding a Number Up to The Nearest Whole Number

Here, we will round up the times of the following table to the nearest whole number by using the ROUNDUP function.

âž¤Select the output cell D5
âž¤Type the following formula

`=ROUNDUP(C5,0)`

Here, C5 is the time which we want to round up and 0 is the number digit that will round up the value to the nearest whole number.

âž¤Press ENTER
âž¤Drag down the Fill Handle Tool

Result:
In this way, you will be able to round up the times to the nearest integer number.

Similarly, you can get the result by inserting direct input instead of reference like below.

`=ROUNDUP(1260.98769,0)`

### 2. Rounding a Number Up with a Positive Number Digit

You can round up the values for any positive number digits to the right of the decimal point by using the ROUNDUP function.

âž¤Select the output cell D5
âž¤Type the following formula

`=ROUNDUP(C5,1)`

Here, C5 is the time which we want to round up and 1 is the number digit that will round up the value to 1 decimal place.

âž¤Press ENTER
âž¤Drag down the Fill Handle Tool

Result:
After that, you will be able to round up the times to one place right of the decimal point.

You can round up the times to two places right of the decimal point by using the following formula.

`=ROUNDUP(C5,2)`

Here, C5 is the time which we want to round up and 2 is the number digit that will round up the value to 2 decimal places.

For rounding up the times to three places right of the decimal point you can use the following formula.

`=ROUNDUP(C5,3)`

C5 is the time which we want to round up and 3 is the number digit that will round up the value to 3 decimal places.

Similarly, you can round up the values for any number of decimal places by increasing the number digit of the ROUNDUP function.

### 3. Rounding a Number Up with a Negative Number Digit

In this section, we will round up the values for any negative number digits to the left of the decimal point by using the ROUNDUP function.

âž¤Select the output cell D5
âž¤Type the following formula

`=ROUNDUP(C5,-1)`

Here, C5 is the distance which we want to round up and –1 is the number digit.
This negative number will round up the value to the nearest 10.

âž¤Press ENTER
âž¤Drag down the Fill Handle Tool

Result:
Then, you will round up the distances to one place left of the decimal point.

You can round up the distances to two places left of the decimal point by using the following formula.

`=ROUNDUP(C5,-2)`

Here, C5 is the distance which we want to round up and –2 is the number digit that will round up the value to the nearest 100.

For rounding up the distances to three places left of the decimal point, you can use the following formula.

`=ROUNDUP(C5,-3)`

Here, C5 is the distance which we want to round up and –3 is the number digit that will round up the value to the nearest 1000.

Similarly, you can round up the values for any number of digits to the left of the decimal places by changing the number digit of the ROUNDUP function.

### 4. Using The ROUNDUP Function in a Formula

Here, we will determine the speed of the participants by dividing the distances by times, and then we will round up the values to the two decimal places by using the ROUNDUP function.

âž¤Select the output cell E5
âž¤Type the following formula

`=ROUNDUP((C5/D5),2)`

Here, C5 is the distance and D5 is the time

• (C5/D5)â†’It will divide the distance by the time.
Outputâ†’1.15748
• ROUNDUP((C5/D5),2) becomes
ROUNDUP(1.15748,2)â†’It will round up the value to two decimal places by using the number digit 2.
Outputâ†’1.16

âž¤Press ENTER
âž¤Drag down the Fill Handle Tool

Result:
Then, you will get the speed to 2 decimal points.

### 5. Using The ROUNDUP Function in a VBA Code

You can use the ROUNDUP function in the VBA code also.Â

âž¤Go to Developer Tab>>Visual Basic Option

Then, the Visual Basic Editor will open up.
âž¤Go to Insert Tab>> Module Option

After that, a Module will be created.

âž¤Write the following code

``````Sub roundnumber()

Range("D5") = Application.WorksheetFunction.RoundUp((Range("C5")), 2)
Range("D6") = Application.WorksheetFunction.RoundUp((Range("C6")), 2)
Range("D7") = Application.WorksheetFunction.RoundUp((Range("C7")), 2)
Range("D8") = Application.WorksheetFunction.RoundUp((Range("C8")), 2)
Range("D9") = Application.WorksheetFunction.RoundUp((Range("C9")), 2)
Range("D10") = Application.WorksheetFunction.RoundUp((Range("C10")), 2)

End Sub``````

ROUNDUP will round up the values of the cells C5 to C10 of Column C to 2 decimal places and we will get the outputs in corresponding cells of Column D.

âž¤Press F5

Result:
Finally, you will get the distances rounded up to the two places right of the decimal point.

### 6. Using The ROUNDUP Function for Negative Values

For the negative temperature of the substances, you can also round them up by using the ROUNDUP function.

We will try to get the nearest negative integers by using the following formula

`=ROUNDUP(C5,0)`

Here, C5 is the negative temperature that we want to round up and 0 is the number digit that will round up the value to the nearest whole number.

You can round up the negative temperatures to two places right of the decimal point by using the following formula.

`=ROUNDUP(C5,2)`

Here, C5 is the negative temperature that we want to round up and 2 is the number digit that will round up the value to 2 decimal places.

For rounding up the negative temperatures to two places left of the decimal point, you can use the following formula.

`=ROUNDUP(C5,-2)`

Here, C5 is the negative temperature that we want to round up and –2 is the number digit that will round up the value to the nearest 100.

## Things to Notice

🔺The ROUNDUP function is quite similar to the ROUND function, but it always rounds a number up.

🔺It rounds the number 1-9 up.

🔺This function can round up the number both to the right and left of the decimal point.

## Practice Section

For doing practice by yourself we have provided a Practice section like below in a sheet named Practice. Please do it by yourself.

## Conclusion

In this article, we tried to cover the introduction and usage of the ROUNDUP function in Excel. Hope you will find it useful. If you have any suggestions or questions, feel free to share them in the comment section.

<< Go Back to Excel Functions | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Tanjima Hossain

TANJIMA HOSSAIN is a marine engineer who enjoys working with Excel and VBA programming. For her, programming is a handy, time-saving tool for managing data, files, and online tasks. She's skilled in Rhino3D, Maxsurf C++, MS Office, AutoCAD, and Excel & VBA, going beyond the basics. She holds a B.Sc. in Naval Architecture & Marine Engineering from BUET and is now a content developer. In this role, she creates tech-focused content centred around Excel and VBA. Apart from... Read Full Bio

We will be happy to hear your thoughts

Advanced Excel Exercises with Solutions PDF