Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Using the MROUND Worksheet Function.
by Allen Wyatt
(last updated May 1, 2021)
Excel provides several different worksheet functions you can use to round a value in differing ways. For instance, you may want to round a number to some odd value, such as rounding to the nearest multiple of 7 or to the nearest 50.
For these times, you should use the MROUND worksheet function. The syntax for the MROUND function is as follows:
The num argument is the number you want to round, while multiple is the value you want used in the rounding. Thus, if you want to round to the nearest 50, then multiple would be 50.
If you decide to use MROUND, it is important to remember that num and multiple must be the same sign. If one of them is positive and the other negative, then Excel returns a #NUM! error.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (11117) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. You can find a version of this tip for the older menu interface of Excel here: Using the MROUND Worksheet Function.
Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling today!
Rounding is a fact of life when it comes to using formulas in a worksheet. Sometimes that rounding can be a bit ...Discover More
Need to round values up to the next value that ends in 9? There are a number of ways you can accomplish the task through ...Discover More
Some formulas just don't give the results you expect. Sometimes this is due to the way that Excel handles rounding. ...Discover More
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.