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.

All current Excel versions. Also in Excel for the web and Google Sheets.

Syntax =ROUNDUP(number, num_digits)

ROUNDUP
=ROUNDUP(4.0425,2)

Arguments

NameRequiredWhat to pass
numberRequiredThe number to round away from zero.
num_digitsRequiredHow 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

=ROUNDUP(B3,2)B4
Tax
AB
1Price49
2Rate8.25%
3Exact tax4.0425
4Rounded up4.05
A picture of the sheet, not a live calculator. B2 is a percent, so 8.25% is stored as 0.0825. 49 times that is 4.0425.

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.