If you need to round a number to the nearest multiple of 5, you can use the MROUND function and supply 5 for number of digits.

Generic formula



In the example, cell C6 contains this formula:


The value in B6 is 17 and the result is 15 since 15 is the nearest multiple of 5 to 17.

Other multiples

As you'd expect, you can use MROUND to round to other multiples as well:

=MROUND(number,10) // nearest multiple of 10
=MROUND(number,50) // nearest multiple of 50
=MROUND(number,.05) // nearest 5 cents

And so on.

Force up or down

You can use the CEILING function to force rounding up to the nearest multiple and the FLOOR function to force rounding down to the nearest multiple.

Dave Bruns Profile Picture

AuthorMicrosoft Most Valuable Professional Award

Dave Bruns

Hi - I'm Dave Bruns, and I run Exceljet with my wife, Lisa. Our goal is to help you work faster in Excel. We create short videos, and clear examples of formulas, functions, pivot tables, conditional formatting, and charts.