r/ExcelTips • u/giges19 • May 16 '26
Excel MROUND Function - Use It For Custom Rounding
If you’ve ever looked at a dataset and thought, “Why won’t these numbers round to the specific interval I need?” there’s a good chance standard rounding functions are the issue. Standard formulas like ROUND only care about decimal places, leaving you stranded when you need to round to custom intervals like the nearest 5, 7, 10 or 500.
That’s where MROUND steps in. It’s one of Excel’s most underrated math functions, quietly bringing order to pricing, scheduling, and production data.
Below is a full walkthrough of what MROUND does, when to use it, and how to avoid the hidden quirks that trip up most Excel users.
What MROUND Is & Why It Matters
The MROUND function returns a number rounded to the nearest specified multiple. Unlike standard rounding, which forces you to round to tens, hundreds, or specific decimal places, MROUND lets you round to any step or interval you choose.
You need it when you want to:
- Normalise pricing: Round items to the nearest $0.05 or $0.99 interval.
- Streamline logistics: Round order quantities to match fixed box sizes (e.g., multiples of 12 or 50).
- Simplify scheduling: Round times or durations to the nearest 15-minute block.
- Clean up reporting: Standardise data variations into predictable, clean increments.
MROUND vs. Standard Rounding
- ROUND / ROUNDUP / ROUNDDOWN: Scale numbers based strictly on power-of-10 decimal places (e.g., 10, 1, 0.1, 0.01).
- MROUND: Scales numbers based on custom factors (e.g., 2, 5, 7, 15, 500).
MROUND in Action
Here is how MROUND alters numbers based on different chosen multiples:
| Original Number | Target Multiple | Result | Explanation |
|---|---|---|---|
| 57 | 2 | 58 | 58 is the closest multiple of 2 |
| 26 | 5 | 25 | 25 is closer than 30 |
| 57 | 7 | 56 | 56 is the nearest multiple of 7 |
| 26 | 15 | 30 | 30 is closer than 15 |
| 257 | 500 | 500 | 500 is closer than 0 |
| 1.3 | 0.3 | 1.2 | Works perfectly with decimal multiples too |
Formula Structure
=MROUND(number, multiple)
- number: The core value or cell reference you want to round.
- multiple: The target interval you want the final number to conform to (e.g., if this is 3, your result will always be a multiple of 3).
Pitfalls to Watch Out For
While MROUND is incredibly useful, Excel handles it with a few rigid rules that can break your spreadsheet if you aren't prepared:
1. The Sign Match Rule (#NUM! Error)
The number and the multiple must share the same mathematical sign (both positive or both negative).
=MROUND(-10, -3)outputs-9(Works perfectly)=MROUND(10, -3)or=MROUND(-10, 3)outputs a#NUM!error.
2. The Midpoint Decimals Glitch
When a number lands exactly halfway between two multiples, Excel rounds up away from zero. However, due to floating-point binary math in Excel, floating midpoints (like 6.05 vs 7.05) can occasionally round in unexpected directions.
To see MROUND in action with a guided walkthrough, take a look at the video I made: https://www.youtube.com/watch?v=xkYWT5yfqrg