Category: FUNCTION | Updated: 2026-11-22
How to Use the MROUND Function in Google Sheets
Syntax
=MROUND(value, factor)
- value: The number or cell reference to round.
- factor: The multiple to which
valueis rounded (required).
Example
Examples of rounding amounts to the nearest 5 or rounding times to the nearest 30-minute increment:
| Original Value | Formula | Result | Explanation |
|---|---|---|---|
| 123 | =MROUND(A2, 5) |
125 | Rounds to the nearest multiple of 5 |
| 122 | =MROUND(A3, 5) |
120 | Rounds down because the remainder is less than half of 5 (2.5) |
| 10:16 | =MROUND(A4, "0:30") |
10:30 | Rounds to the nearest 30-minute increment |
| -14 | =MROUND(A5, -5) |
-15 | Rounds a negative number to the nearest multiple of -5 |
Common Errors and Notes
- Matching Signs Required: Both
valueandfactormust be positive, or both must be negative. If only one is negative,#NUM!is returned. factorCannot Be Omitted: UnlikeCEILINGandFLOOR, the second argument (factor) is required.
Frequently Asked Questions
Q. Can MROUND round a time to the nearest 30 minutes?
A. Yes. Specify "0:30" as the factor (e.g., =MROUND(A1, "0:30")). For example, 10:14 rounds to 10:00, and 10:16 rounds to 10:30.
Q. When does MROUND return a #NUM! error?
A. A "#NUM!" error occurs when the first argument (value) and the second argument (factor) have different signs (one positive and one negative).