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.
Syntax
Arguments
| Argument | Description | |
|---|---|---|
number | required | The value to round. |
multiple | required | The step to round to. Must share the sign of number, or the result is #NUM!. |
Related functions
Click the destination cell and type =MROUND(.
Select the value to round, then type a comma.
Enter the step size — 0.05 for five-cent pricing, 12 for a case, "0:15" for a quarter hour.
Press Enter. Check a value that sits exactly halfway to confirm the away-from-zero behaviour is what you want.
Need it as an auditable file?
Ships inside the linked template — formula-driven, unlocked, audit-ready.
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 tool above 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. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.
In Google Sheets
Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. Nothing on this page is behind a login: the tool runs entirely in your browser, the formula is shown in full with one-click copy, and the steps work the same on Windows and Mac. That is the whole promise here — the exact answer, a way to prove it on your own numbers, and just enough context to make it stick. If you take one thing from this page on “mround function in excel”, make it the habit rather than the keystrokes: set the problem up with labelled inputs, reference those cells, and let Excel do the recomputing. Bookmark the page for the syntax, but do the example once in a blank sheet and check it against the tool above — five minutes of hands-on practice fixes the method in memory far better than re-reading, and it surfaces the small snags while they are still harmless. After that the technique is genuinely yours: faster than searching for it again, and reliable enough to drop into work that other people depend on.
Common mistakes
- Passing a positive number with a negative multiple (or vice versa), which returns
#NUM!— both arguments must share a sign. - Reaching for
MROUNDwhen the requirement is strictly one-directional; a price that must never round down needsCEILING, 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.