ROUNDUP function
ROUNDUP rounds a number away from zero at the place you choose whenever there is any remainder, for example when billing by whole units. Negative numbers become more negative.
Example
Read it as a sentence: round 2.561 away from zero to 2 decimal places, which gives 2.57.
A
B
C
D
1
2.57
2
3
Syntax
ROUNDUP(number, num_digits)
-
number(required) - The value to round.
-
num_digits(required) - Decimal places to keep; negative rounds left of the decimal point.
Returns: The number rounded away from zero at the chosen place.
What Excel actually returns
Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.
| Formula | Excel shows | Case |
|---|---|---|
=ROUNDUP(2.345,2) | 2.35 | 2.345,2 |
=ROUNDUP(-2.345,2) | -2.35 | -2.345,2 |
=ROUNDUP(2.5,0) | 3 | 2.5,0 |
=ROUNDUP(-2.5,0) | -3 | -2.5,0 |
=ROUNDUP(1234,-2) | 1300 | 1234,-2 |
=ROUNDUP(2.345,1.9) | 2.4 | Digits 1.9 truncates |
=ROUNDUP("abc",1) | #VALUE! | Text |
=ROUNDUP(Data!E4,1) | #DIV/0! | Error cell |
The Data sheet these formulas read
A cell that starts with = holds that formula.
E
1
5
2
abc
3
TRUE
4
=1/0
Data
Watch out for
- Negative numbers become more negative.
Where it works
- Excel
- ROUNDUP is in every version of Excel from 2007 on.
- Google Sheets
- Same name, same behaviour for everyday use.
Part of Math and trig functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .