Function · Rounding
Excel ROUND function
The Excel ROUND function rounds half away from zero. $49 at 8.25% is $4.0425, which rounds to $4.04 of tax.
Syntax =ROUND(number, num_digits)
=ROUND(49*0.0825,2)Arguments
| Name | Required | What to pass |
|---|---|---|
| number | Required | The number to round. |
| num_digits | Required | Digits to the right of the decimal. 0 rounds to a whole number. Negative digits round to the left of the decimal, so -1 rounds to tens. |
Examples
Tax on a $49 item at a combined 8.25% rate
=ROUND(49*0.0825,2)Result $4.04
| A | B | |
|---|---|---|
| 1 | Price | 49 |
| 2 | Rate | 8.25% |
| 3 | Tax | 4.04 |
ROUND keeps a chosen number of digits and rounds 5 away from zero. A $49 item at 8.25% produces 4.0425 of tax. To the cent, the third decimal is 2, so the tax is $4.04. The 8.25% here is a combined rate you looked up. It is not the Texas or California statewide rate. The sales-tax LAMBDA is this same ROUND, saved under a name, and it adds the rounded tax to the price rather than rounding the gross a second time.
Negative num_digits rounds to the left of the decimal point. =ROUND(1846,-1) is 1850. That is useful for a rough budget and wrong for a tax line. ROUNDUP always moves away from zero. ROUNDDOWN always moves toward zero. Neither of them is what a sales-tax receipt usually wants.