Numbers Exercises

Rounding in Numbers: ROUND, ROUNDUP, CEILING and More

Last updated:

Short answer: ROUND rounds to the nearest number, ROUNDUP always up and ROUNDDOWN always down. CEILING, FLOOR and MROUND round to a multiple, TRUNC cuts off decimals.

The examples use this table.

Table 1
ABC
1ProductPriceQty
2Apple410
3Pear65
4Kiwi122
5Grape83

ROUND: rounding to decimals

ROUND rounds a number to the number of decimals you give. With 0 you get a whole number. This is also how you round an average.

=ROUND(3.14159,2)
Result: 3.14
=ROUND(AVERAGE(B2:B5),0)
Result: 8

ROUNDUP and ROUNDDOWN

ROUNDUP always rounds up (away from zero), ROUNDDOWN always down (toward zero). Here too you give the number of decimals.

=ROUNDUP(4.21,1)
Result: 4.3
=ROUNDDOWN(4.29,1)
Result: 4.2

CEILING and FLOOR: to a multiple

CEILING rounds up to the nearest multiple of a number, FLOOR rounds down. With 1 you get a whole number.

=CEILING(4.2,1)
Result: 5
=FLOOR(4.8,1)
Result: 4
=CEILING(12,5)
Result: 15

MROUND: the nearest multiple

MROUND rounds to the nearest multiple, up or down. Handy for prices to the nearest five cents or times to the nearest quarter hour.

=MROUND(17,5)
Result: 15

TRUNC: cutting off decimals

TRUNC cuts off decimals without rounding. For a negative number that differs from INT, which rounds down.

=TRUNC(-4.8)
Result: -4
=INT(-4.8)
Result: -5

Frequently asked questions

What is the difference between ROUND and a cell format with fewer decimals?

ROUND changes the value itself. A cell format only displays fewer decimals; the underlying value stays the same and is still used in calculations.

How do I round up to a whole number?

Use ROUNDUP with 0 decimals, for example ROUNDUP(4.2, 0), or CEILING with 1.

What is the difference between TRUNC and ROUNDDOWN?

Both go toward zero and give the same result in practice. TRUNC is a shorter way to write it when you only want to cut off decimals.

Functions in this article

Practise it yourself

Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.

Start practising