MROUND function

This article describes the formula syntax and usage of the MROUND function in Microsoft Excel.

Description

Returns a number rounded to the desired multiple.

Syntax

MROUND(number, multiple)

The MROUND function syntax has the following arguments:

  • Number    Required. The value to round.

  • Multiple    Required. The multiple to which you want to round number.

Remark

  • MROUND rounds up, away from zero, if the remainder of dividing number by multiple is greater than or equal to half the value of multiple.

  • The Number and Multiple arguments must have the same sign. If not, a #NUM error is returned.

Example

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

Formula

Description

Result

=MROUND(10, 3)

Rounds 10 to the nearest multiple of 3.

9

=MROUND(-10, -3)

Rounds -10 to the nearest multiple of -3.

-9

=MROUND(1.3, 0.2)

Rounds 1.3 to the nearest multiple of 0.2.

1.4

=MROUND(5, -2)

Returns the #NUM! error message because -2 and 5 have different signs.

#NUM!

Known Issues

When a decimal value is provided to the Multiple argument , the rounding direction is undefined for midpoint numbers. For example MROUND(6.05,0.1) returns 6.0 while MROUND(7.05,0.1) returns 7.1.

Connect with an expert
Contact us
Expand your skills
Explore training

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×