MROUND Function in Excel

If you just need to mround function in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: use =MROUND(number, multiple) — it rounds to the nearest multiple of your choice in either direction, so =MROUND(17, 5) returns 15 and =MROUND(18, 5) returns 20.

On this page8

Syntax

=MROUND(number, multiple)

Arguments

Argumentrequired / optionalDescription
numberrequiredThe value to round.
multiplerequiredThe step to round to. Must share the sign of number, or the result is #NUM!.

Related functions

CEILINGFLOORROUND
▤Annotated stepsExcel
1

Click the destination cell and type =MROUND(.

2

Select the value to round, then type a comma.

3

Enter the step size — 0.05 for five-cent pricing, 12 for a case, "0:15" for a quarter hour.

4

Press Enter. Check a value that sits exactly halfway to confirm the away-from-zero behaviour is what you want.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

MROUND rounds to the nearest multiple of a step you specify, rather than to a number of decimal places. It is the only one of the rounding family that picks the nearest step in either direction: CEILING always goes up and FLOOR always goes down. Exact halves round away from zero, so =MROUND(7.5, 5) returns 10. The one hard rule is that number and multiple must share a sign — mixing a positive value with a negative step returns #NUM! rather than guessing. Because a time in Excel is a fraction of a day, MROUND is the standard way to snap timestamps to a 15-minute or half-hour grid. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “mround function in excel”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the outcome you expected before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

Rounding a price to the nearest 0.05 for cash handling: =MROUND(12.37, 0.05) returns 12.35. Snapping a meeting time in A2 to the nearest quarter hour: =MROUND(A2, "0:15") returns the nearest 15-minute slot. Batching an order to whole cases of 12: =MROUND(94, 12) returns 96. MROUND is how you snap messy real-world values onto a business-defined grid — price points, case sizes, time slots — in a single readable formula. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. For “mround function in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

Common mistakes

  • Passing a positive number with a negative multiple (or vice versa), which returns #NUM! — both arguments must share a sign.
  • Reaching for MROUND when the requirement is strictly one-directional; a price that must never round down needs CEILING, not the nearest multiple.
  • Rounding times without formatting the result as time, which shows the underlying decimal fraction instead of a clock value.

Frequently asked questions

How do I round to the nearest 15 minutes?

Use =MROUND(A2, "0:15") on a real time value, then format the result as time. Excel stores time as a fraction of a day, so the quoted "0:15" is what makes the step readable.

What does MROUND do with an exact half?

It rounds away from zero. =MROUND(7.5, 5) gives 10 and =MROUND(-7.5, -5) gives -10.

Why does MROUND return #NUM!?

The number and the multiple have different signs. Make both positive or both negative and the error clears.