Google Sheets function · Math
ROUNDUP in Google Sheets: syntax and examples
ROUNDUP rounds a number away from zero to a set number of decimal places. Any leftover digit, even a tiny one, pushes the last kept digit up by one. A negative places rounds to tens, hundreds or thousands.
Syntax
ROUNDUP(value, [places])
Arguments
| Argument | Type | Required | What it does |
|---|---|---|---|
value | number | yes | The number to round up. |
places | number | no | How many decimal places to keep. 0 or leaving it out gives an integer. A negative number rounds to tens, hundreds and so on. |
Examples
The examples use this table, starting in A1:
| Amount | Note |
| 1234.561 | price |
| 2.1 | ratio |
| -3.14159 | delta |
| 20 | exact |
=ROUNDUP(A2, 2)Result: 1234.57
Two decimals: 1234.561 goes up to 1234.57, even though the third decimal is only 1.
Run in a Google Sheet (English US locale) on .
=ROUNDUP(A3)Result: 3
Without places the result is an integer, always the next one up.
Run in a Google Sheet (English US locale) on .
=ROUNDUP(A2, -2)Result: 1300
A negative places rounds to hundreds: 1234.561 becomes 1300.
Run in a Google Sheet (English US locale) on .
=ROUNDUP(A4, 1)Result: -3.2
Negative numbers move away from zero: -3.14159 becomes -3.2, not -3.1.
Run in a Google Sheet (English US locale) on .
=ROUNDUP(A5, 2)Result: 20
A value that is already exact stays the same.
Run in a Google Sheet (English US locale) on .
Common errors
- ROUNDUP ignores the size of the dropped digits. 1234.561 with 2 places gives 1234.57, while ROUND would give 1234.56.
- For negative numbers, up means away from zero: -3.14159 with 1 place is -3.2, not -3.1.
- A text that is not a number returns #VALUE!, and leaving out value returns #N/A.
- The result is a number, not text. Format it with TEXT only if you need a display string.
Compared with Excel
Same syntax as Excel ROUNDUP, except that places is optional in Google Sheets and required in Excel.