Excel function

MROUNDfunction

Rounds a number to the nearest multiple you choose.

All versions
=MROUND(A2, 0.5)
A
B
1
2
3
4
5
6
7

Click a cell in the table to change number. Click 1234.567 and set multiple to 100, 50 and 5. Try breaking it on purpose to see the errors.

Result

3

number
A2You can also click a cell in the table

The cell with the number to calculate. Click another value in the table.

multiple

Rounds to the nearest multiple of this number. It must have the same sign as number.

What is the MROUND function?

=MROUND(number, multiple)

MROUND rounds a number to the nearest multiple you choose. Use it to set prices in steps of 50 or round times to 15 minutes.

According to Microsoft, if the remainder of dividing number by multiple is at least half of multiple, MROUND rounds away from zero. If number and multiple have different signs, it returns #NUM!.

Arguments

number
The number or cell to round.
multiple
The multiple to round to. It must have the same sign as number.

MROUND examples

  1. Example 1. Nearest multiple of 3

    =MROUND(10, 3)

    An example from Microsoft: 9, because 10 is closer to 9 than to 12.

  2. Example 2. Negative numbers

    =MROUND(-10, -3)

    -9. It works when both are negative.

  3. Example 3. Steps of 0.2

    =MROUND(1.3, 0.2)

    1.4.

Common mistakes

FAQ

How is it different from CEILING and FLOOR?
CEILING always rounds up, FLOOR always rounds down, MROUND rounds to the nearest.
How do I round times to 15 minutes?
Use a time as the multiple: =MROUND(A2, "0:15").