Round Up/Down to a Multiple (CEILING & FLOOR)

Excel Formulas › Round

All versionsCEILING

Round to the next multiple of something — up to the nearest $5, down to the nearest 100. CEILING always rounds up to a multiple, FLOOR always down. MROUND goes to the nearest.


Quick formula: round A2 up to the next multiple of 5:
=CEILING(A2, 5)
CEILING rounds up to the multiple; FLOOR rounds down; MROUND picks the nearest.

Functions used (tap for the full reference guide):

The example

Prices rounded up to the next $5.

AB
1ValueUp to $5
21215
32125

The formula

The formula:

=CEILING(A2, 5) // always rounds up to a multiple of 5

How it works

How it works:

  1. CEILING(value, multiple) rounds up to the nearest multiple — 12 → 15.
  2. FLOOR(value, multiple) rounds down — 12 → 10.
  3. MROUND(value, multiple) goes to the nearest multiple either way.
  4. Use them for price points ($0.99 endings), packaging (round up to a full case), or time blocks.

Negative numbers behave differently across CEILING variants. The modern CEILING.MATH(value, multiple, mode) lets you control how negatives round; plain CEILING rounds toward zero or away depending on the version — test if your data has negatives.

Try it: interactive demo

Live demo

Value and multiple.

Up · Down · Nearest

Variations

Round down

FLOOR:

=FLOOR(A2, 5)

Nearest

MROUND:

=MROUND(A2, 5)

.99 price point

Next dollar minus a cent:

=CEILING(A2, 1) - 0.01

Pitfalls & errors

Negatives are tricky. CEILING/FLOOR handle negative values differently by version — use CEILING.MATH/FLOOR.MATH for control.

Multiple sign. In older Excel, value and multiple must share a sign or CEILING errors.

CEILING up, FLOOR down. Don’t confuse them with ROUNDUP/ROUNDDOWN (which round to decimals, not multiples).

Practice workbook

📊
Download the free Round Up/Down to a Multiple (CEILING & FLOOR) practice workbook
A CEILING/FLOOR sheet with the down, nearest, and price-point variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I round up to the nearest multiple in Excel?
Use =CEILING(value, multiple), e.g. =CEILING(A2, 5) rounds up to the next multiple of 5. FLOOR rounds down; MROUND goes to the nearest.
What's the difference from ROUNDUP?
ROUNDUP rounds to a number of decimal places; CEILING rounds up to a multiple of a value.
How do I handle negative numbers?
Use CEILING.MATH or FLOOR.MATH, which give explicit control over how negatives round.

Stop fighting formulas. Learn them in a day.

This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related formulas: Round to nearest · Roundup & rounddown · Round time to interval

Function references: CEILING · FLOOR