ROUNDUP function
Rounds a number away from zero to a chosen number of digits, e.g. to count boxes or billable units.
Available in All versions of Excel, Excel for the web, Excel for Mac
In every Excel versionWorks in Google Sheets
Syntax
ROUNDUP(number, num_digits)| Argument | What it means | |
|---|---|---|
number | Required | The value to round. |
num_digits | Required | Decimal places to keep: 0 for whole numbers, positive for decimals, negative for tens/hundreds. |
Returns: The number rounded away from zero.
How ROUNDUP works
ROUNDUP always moves a number up to the next value with the chosen number of digits, no matter how small the remainder is. 12.01 boxes means you need 13 boxes; 2.31 kg billed per 100 g is 2.4 kg. Wherever a part counts as a whole (packaging, vehicles, staff shifts, billing increments, minimum stock) ROUNDUP gives the safe answer.
"Up" means away from zero. For positive numbers that is upwards, but for negative numbers ROUNDUP makes them more negative: −4.12 rounded up to one decimal is −4.2. If you need "towards plus infinity" for negative values, use CEILING.MATH instead. To round to a multiple like 5 or 0.25 rather than to digits, also use CEILING.MATH.
Examples
1How many boxes for an order
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Order | Items | Per box | |
| 2 | SO-881 | 145 | 12 | 13 |
Result: 13
145 / 12 = 12.08, and 12 boxes would leave one item behind, so ROUNDUP returns 13.
2Billable weight in 100 g steps
| A | B | C | |
|---|---|---|---|
| 1 | Parcel | Weight (kg) | |
| 2 | Athens | 2.315 | 2.4 |
| 3 | Credit note | -4.12 |
Result: 2.4
2.315 kg is rounded up to one decimal, 2.4 kg, even though ROUND would give 2.3.
3Negative values move away from zero
| A | B | C | |
|---|---|---|---|
| 1 | Parcel | Weight (kg) | |
| 2 | Athens | 2.315 | |
| 3 | Credit note | -4.12 | -4.2 |
Result: -4.2
−4.12 becomes −4.2, a larger amount. For a credit note that is usually what you want; if not, use =CEILING.MATH(B3, 0.1) which gives −4.1.
4Budget rounded up to the next hundred
| A | B | C | |
|---|---|---|---|
| 1 | Department | Forecast cost | |
| 2 | Marketing | 12340 | 12,400 |
Result: 12,400
Negative digits work too: −2 rounds up to the next hundred, 12,400.
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
Result one too high | A value that should be whole is stored as e.g. 12.0000000001 after a calculation, so ROUNDUP adds 1. | Round the input first: =ROUNDUP(ROUND(B2/C2, 10), 0). |
#VALUE! | An argument is non-numeric text. | Check the input cells. |
Tips
=ROUNDUP(x, 0)and=CEILING.MATH(x)agree for positive numbers but not for negative ones.- Number of pages for a report:
=ROUNDUP(rows/rows_per_page, 0). - Billing in started hours:
=ROUNDUP(minutes/60, 0).
Questions
How do I round up to the nearest 5?
ROUNDUP only works with digits. Use =CEILING.MATH(B2, 5).
Why does ROUNDUP(-2.1, 0) return -3?
ROUNDUP rounds away from zero. Use CEILING.MATH (−2) if you want the result towards plus infinity.
Google Sheets
ROUNDUP also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.
ROUNDUP in other languages
In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.
| Language | Function name |
|---|---|
| Danish | RUND.OP |
| Dutch | AFRONDEN.NAAR.BOVEN |
| Finnish | PYÖRISTÄ.DES.YLÖS |
| French | ARRONDI.SUP |
| German | AUFRUNDEN |
| Hungarian | KEREK.FEL |
| Italian | ARROTONDA.PER.ECC |
| Norwegian (Bokmål) | AVRUND.OPP |
| Polish | ZAOKR.GÓRA |
| Portuguese (Brazil) | ARREDONDAR.PARA.CIMA |
| Portuguese (Portugal) | ARRED.PARA.CIMA |
| Russian | ОКРУГЛВВЕРХ |
| Spanish | REDONDEAR.MAS |
| Swedish | AVRUNDA.UPPÅT |
| Turkish | YUKARIYUVARLA |