MROUND Function

Excel Functions › Math & Trig

All versions Math & Trig

The Excel MROUND function rounds a number to the nearest multiple of a value you choose — ideal for snapping to the nearest 5, 25, 0.05, or any other increment.


Quick answer:
=MROUND(17, 5) nearest multiple of 5 = 15

Syntax

=MROUND(number, multiple)
ArgumentDescription
numberRequiredThe number you want to round.
multipleRequiredThe multiple to round to. Must have the same sign as number, or MROUND returns an error.

How to use it

MROUND finds the nearest multiple of the second argument, rounding half away from zero when the value sits exactly halfway:

=MROUND(17, 5) // nearest 5 = 15
=MROUND(23, 5) // nearest 5 = 25
=MROUND(0.12, 0.05) // nearest 0.05 = 0.1

Unlike CEILING and FLOOR, MROUND can go either direction — it picks whichever multiple is closer. It's perfect for pricing to the nearest nickel or scheduling to the nearest 15 minutes.

Signs must match. number and multiple must share the same sign. =MROUND(5, -2) returns an error; use =MROUND(-5, -2) instead.

Try it: interactive demo

Live demo

Pick a MROUND example to see the formula and its result.

Result:

Practice workbook

📊
Download the free MROUND practice workbook
Every example on this page, ready to open in Excel — plus practice challenges with answers on a separate tab. No sign-up required.

Frequently asked questions

How does MROUND decide which way to round?
It rounds to whichever multiple is nearest. =MROUND(17, 5) is 15 (17 is closer to 15 than 20); =MROUND(23, 5) is 25. Exact halves round away from zero.
Why does MROUND return an error?
Because number and multiple have different signs. They must match: round a negative number with a negative multiple.
How is MROUND different from ROUND?
ROUND rounds to a number of decimal digits; MROUND rounds to the nearest multiple of any value — like the nearest 25 or nearest 0.05.
Can MROUND round to the nearest quarter hour?
Yes — since time is stored as a fraction of a day, =MROUND(timevalue, "0:15") snaps to the nearest 15 minutes.

Master functions like this in one day

This page covers one function. Our Excel Formulas and Functions class covers the 30 that matter most — live, hands-on, taught by professionals in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.

See the Formulas & Functions Class

Related functions: ROUND · CEILING · FLOOR · ROUNDUP · ROUNDDOWN