Function · Rounding

Excel MROUND function

The Excel MROUND function rounds to the nearest multiple. $2.33 to the nearest nickel is $2.35. $2.31, used on the CEILING.MATH page, rounds to $2.30.

Excel 2007 and later. Also in Excel for the web and Google Sheets.

Syntax =MROUND(number, multiple)

MROUND
=MROUND(2.33,0.05)

Arguments

NameRequiredWhat to pass
numberRequiredThe number to round.
multipleRequiredThe step. 0.05 is a nickel. The number and the multiple must have the same sign, or the result is #NUM!.

Examples

A price to the nearest nickel

=MROUND(2.33,0.05)

Result $2.35

=MROUND(B1,B2)B3
Nickel
AB
1Price2.33
2Step0.05
3Nearest nickel2.35
A picture of the sheet, not a live calculator. A tie rounds away from zero. MROUND(2.325,0.05) is 2.35.

MROUND rounds to the nearest multiple of a step. $2.33 to the nearest nickel is $2.35, because 2.33 is 46.6 nickels and 47 nickels is the closer count. $2.31 is 46.2 nickels, so the same function returns $2.30. CEILING.MATH of $2.31 is $2.35 and FLOOR.MATH of $2.31 is $2.30. MROUND is the one that picks the nearer of those two.

A value exactly halfway between two multiples rounds away from zero. 2.325 is halfway from 2.30 to 2.35, and MROUND returns 2.35. The number and the multiple have to share a sign. Before Excel 2007 this function lived in the Analysis ToolPak. Current Excel has it built in.