Course / Dates, Rounding & Money
Rounding values (not just how they look)
ROUND, ROUNDUP, ROUNDDOWN and CEILING, and why formatting a number is not the same as rounding it. Beginner · 5 min · ROUND, ROUNDUP, ROUNDDOWN, CEILING, Format vs value
A number format with two decimals makes 0.516111 look like 0.52, but the cell still holds every digit, and every formula that uses it sees them all. To change the value itself, use a rounding function:
ROUND(x, 2)rounds to the nearest cent (2 decimal places)ROUNDUPalways rounds away from zero;ROUNDDOWNalways rounds towards zeroCEILING(x, 0.25)rounds up to the next multiple of 0.25
The sheet costs out a bakery's cookies, then packs a wholesale order.
Steps
Work out what one cookie costs. In
D2:D6, divide the batch cost by the number of cookies in a batch.Now round each cost to the nearest cent. In
E2:E6, use=ROUND(D2, 2). The2means two decimal places.A tasting box holds one of each cookie. Total both columns:
SUMthe costs inD7and the rounded costs inE7.Shop prices are the rounded cost times the markup in
I1, rounded up to the next 25 cents (I2). InF2:F6, use=CEILING(E2*$I$1, $I$2).Now pack the wholesale order. In
B12, useROUNDDOWNto count the boxes you can fill completely. InB13, useROUNDUPto count the boxes you need for every cookie.
Remember
- Number formats change how a value looks;
ROUNDchanges the value itself. - Round before you total if the rounded amounts are what you charge or pay.
ROUNDUPandROUNDDOWNforce the direction;CEILINGandMROUNDround to a multiple.
Previous: Working days and due dates · Next: Loan payments and savings growth