Function · Rounding
Excel ROUNDUP function
The Excel ROUNDUP function rounds away from zero. Sales tax of $4.0425 rounds up to $4.05, while ROUND would leave it at $4.04.
Syntax =ROUNDUP(number, num_digits)
=ROUNDUP(4.0425,2)Arguments
| Name | Required | What to pass |
|---|---|---|
| number | Required | The number to round away from zero. |
| num_digits | Required | How many decimal places to keep. 2 is cents. 0 is a whole dollar. A negative number rounds to the left of the decimal point. |
Examples
8.25% tax on $49, rounded up to the next cent
=ROUNDUP(4.0425,2)Result $4.05
| A | B | |
|---|---|---|
| 1 | Price | 49 |
| 2 | Rate | 8.25% |
| 3 | Exact tax | 4.0425 |
| 4 | Rounded up | 4.05 |
ROUNDUP moves away from zero to the place you name. Eight and a quarter percent of $49 is $4.0425. The third decimal is 2, so ordinary ROUND leaves the tax at $4.04. ROUNDUP still takes it to $4.05. A seller who must not under-collect by a fraction of a cent uses this, not ROUND.
The direction is away from zero on both sides of the number line. ROUNDUP of -4.0425 to two decimals is -4.05, a bigger negative, not -4.04. Digits of 0 rounds to the next whole number away from zero, so 1.01 becomes 2. CEILING.MATH is the one that rounds up to a nickel or another step that is not a decimal place.