Skip to content

Round numbers the right way

Math that comes up at work8 min

Builds on Your first formula.

An office manager in the Netherlands prices supplies per unit, orders them by the carton and sets next year's budget in round hundreds. Each of those needs a different kind of rounding, and a figure that only looks rounded can leave a total a cent out.

How it works

A number format changes what a cell shows and leaves the value alone. Give 2.4675 two decimals and the cell shows 2.47, but every formula that uses the cell still gets 2.4675. A rounding function changes the value itself.

ROUND(number, num_digits) rounds to the nearest step, and num_digits sets the step, as in the table below. Picture the number on a ruler marked in those steps. ROUND moves it to the nearest mark, and a number exactly halfway goes away from zero, so 2.5 becomes 3. ROUNDUP moves it to the next mark away from zero unless it's already on one, which suits cartons: a part-full carton still ships. ROUNDDOWN moves it to the mark toward zero.

RowABC
1num_digitsRounds to1234.567 becomes
22cents1,234.57
30whole numbers1,235
4-2hundreds1,200

Example

A fuel receipt shows 37.5 liters at €1.689 a liter, with the liters in E5 and the price in F5.

=ROUND(E5*F5,2)
Multiplies the liters in E5 by the price per liter in F5 and rounds the cost to two decimal places.

It returns 63.34. Without ROUND, the cell holds 63.3375 whatever its format.

Common mistakes

  • Formatting a column to two decimals leaves the extra digits in the cells, so its total can differ by a cent from the lines you see. Round each line with ROUND.
  • =ROUND(E5*F5) isn't accepted: Excel says there are too few arguments. ROUND always needs num_digits, even when it's 0.
  • =ROUND(F2/G2,0) turns 5.2 cartons into 5, and part of the order stays behind. Use ROUNDUP when part of a unit counts as a whole one.
  • =ROUND(H2,2) keeps two decimals. To round to the nearest hundred, num_digits is -2.

In short

  • =ROUND(number, num_digits): 2 for cents, 0 for whole numbers, -2 for hundreds.
  • ROUNDUP when a part counts as a whole, such as a carton; ROUNDDOWN to keep only full units.
  • A number format changes only the display. Round with a function whenever the stored value matters.

Practice

4 exercises · free with an account

Start practicing
  1. Not started

    1. Cost per chair, to the cent

    Formula · easy

  2. Not started

    2. Cartons for each order

    Formula · medium

  3. Not started

    3. VAT to the cent on every line

    Formula · medium

  4. Not started

    4. Next year's budget in round hundreds

    Formula · hard