Excel function reference

ROUNDUP / ROUNDDOWN / FLOOR / CEILING

Quick answer

Four ways to round in a chosen direction, instead of to the nearest value the way plain ROUND does.

ROUNDUP(number, num_digits) · ROUNDDOWN(number, num_digits) · FLOOR(number, significance) · CEILING(number, significance)

ROUND looks at the next digit and decides which way to round; these four never make that decision. ROUNDUP always rounds away from zero and ROUNDDOWN always rounds toward zero, regardless of what the next digit actually is. FLOOR and CEILING work the same directional way but round to a chosen multiple rather than a chosen number of decimal places, which is what makes them the natural fit for "round up to the next full box of 12" or "round down to the nearest 15-minute slot."

The direction matters most exactly when ROUND's "nearest" behavior would give a physically wrong answer: you can't ship 10.4 boxes, and a plain ROUND might round that down to 10 when the real order needs 11.

Syntax

ROUNDUP(number, num_digits) · ROUNDDOWN(number, num_digits) · FLOOR(number, significance) · CEILING(number, significance)
ArgumentDescription
numberRequired for all four. The value to round.
num_digitsROUNDUP/ROUNDDOWN: Required. How many decimal places to keep: 0 rounds to a whole number, a negative number rounds to tens/hundreds.
significanceFLOOR/CEILING: Required. The multiple to round down to (FLOOR) or up to (CEILING), e.g. 5 rounds to the nearest 5.

A real example: always ordering enough full boxes

101 units needed, packed 12 to a box; a fractional box still has to be ordered as a whole box:

=ROUNDUP(A2/B2,0)

101 divided by 12 is 8.42 boxes, and ROUNDUP always rounds away from zero, giving 9 boxes regardless of how small the fractional remainder is; ROUND would have rounded that same 8.42 down to 8, one box short of the actual order.

Worked examples

Always round a fraction of a box up to a whole box
AB
1Units neededPer box
210112
=ROUNDUP(A2/B2,0) → 9
Always drop the fractional unit
A
1Total weight
247.8
=ROUNDDOWN(A2,0) → 47
Round down to the nearest 15-minute slot
A
1Minutes
2142
=FLOOR(A2,15) → 135
Round up to the next bucket of 50
A
1Attendees
2212
=CEILING(A2,50) → 250

Common mistakes

  • Using ROUND when the direction actually matters: you can't ship 10.4 boxes, and ROUND(10.4,0) gives 10, not the 11 a real order needs.
  • Giving FLOOR/CEILING a significance of 1 by habit when a whole-number round with ROUNDUP/ROUNDDOWN already does the job more simply.
  • Mixing up which of FLOOR or CEILING goes with "at least this much" versus "no more than this much"; FLOOR can round a result below a required minimum.

Related functions

Try it yourself

A free, graded practice exercise using this exact function: instant feedback, no signup required.

Practice rounding functions →