ROUND: tidy up a price

Lesson 5 of 54

ROUND rounds a number to a set number of decimal places. Unlike cell formatting, it changes the value itself, so totals add up the way they look.

In cell C2, write a formula that rounds the Price in B2 to 2 decimal places.

C2
ABC
1ItemPriceRounded
2Coffee (per gram)0.05
3Tea (per gram)0.03
4Cocoa (per gram)0.06

Type in the formula bar above and press Enter to check.

Skip

How ROUND works

Syntax

=ROUND(number, digits)
number
The value or formula to round.
digits
2 = cents, 0 = whole numbers, -1 = tens, -3 = thousands.

Example

A unit cost is calculated as =C2/D2 and you want it to the nearest cent before multiplying by quantity.

=ROUND(C2/D2, 2)

12.3456 becomes 12.35. Related: ROUNDUP and ROUNDDOWN always go up or down, and MROUND rounds to a multiple like 0.05.

Common mistakes

  • Formatting a cell to 2 decimals and assuming it is rounded. The full value is still used in sums.
  • Rounding every line and the total separately, which can make them differ by a cent. Decide where rounding happens.

Questions people ask

How do I round to the nearest 5 or 0.25?

Use MROUND: =MROUND(A2, 5) or =MROUND(A2, 0.25).

Practice it above: type the formula in the formula bar and press Enter to check.