Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. 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.

Using the MROUND Worksheet Function

by Allen Wyatt
(last updated June 20, 2015)

6

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:

=MROUND(num, multiple)

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, and 2013. You can find a version of this tip for the older menu interface of Excel here: Using the MROUND Worksheet Function.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Extracting Pictures from a Document

Word allows you to easily insert pictures into your documents. Getting the pictures back out of your documents can be ...

Discover More

Who Has the File Open?

Open a workbook that someone else is working on, and you won't be able to save your changes back into the same file. ...

Discover More

Positioning Line Numbers

Line numbers can be added to a document, and is typically done in legal documents. The line numbers appear to the left of ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Rounding to the Nearest Half Dollar

When working with financial data, it's easy to round values to the nearest dollar. What if you want them rounded to the ...

Discover More

Rounding to Two Significant Digits

Excel provides a variety of functions you can use to round values in any number of ways. It does not, however, provide a ...

Discover More

Rounding Up to a Value Ending in 9

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
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 8 + 0?

2016-02-26 10:32:33

Peter Atherton

Joe

Try this

=INT(A1)+MROUND((A1-INT(A1))*100,30)/100


2016-02-24 16:28:01

Joe

I need help in round an Excel cell number to the nearest 30 cents. Example, I have amount $4.40, I need the cell to show $4.30. If the cell amount is $4.50, I need the cell to show $4.60. I tried =ROUND(cell no.,.3) and =MROUND(cell no.,.30) Neither does not work like they say it will????
thanks......Joe


2015-07-07 20:49:26

Maarten Daams

MROUND can also be used with fractions. For example, MROUND(1.53,0.05) will return 1.55


2015-06-22 09:47:33

Craig Abt

Very nice. Much easier than nesting some other computations into the regular rouding function (eg to round to the nearest $.25)

I can see this very useful for budgeting purposes when rounded #s are preferred. One could also incorporate an "if" stmt or lookup to round to increasingly larger amts as the base amt increases. Thanks for the tip!


2015-06-22 08:17:26

Brian Walker

I use MROUND() in an automated stock replenishing application for field sales. MROUND() is used to round sales rep product requests to the nearest case quantity. ...A very useful function.


2015-06-20 05:44:52

Wayne

Great tip & surprisingly very handy


This Site

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.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.