It is often necessary when creating financial reports to round figures to some value other than the nearest dollar. One common rounding point is to the nearest fifty dollars. If you need to round figures in this manner, then there are a number of formulas you can use to do the rounding.
The first approach is to use the MROUND function. This function allows you to round to any value you want, and has been covered in other ExcelTips. Basically, you would use the function as follows if the value you want to round is in cell B7:
=MROUND(B7,50)
The MROUND function only works with positive values, so if there is a chance you'll be using negative values, then you can't use MROUND. In these instances, you can resort to the regular ROUND function. Either of the following variations will produce the exact same results:
=ROUND(F5/50,0)*50 =ROUND(F5*2,-2)/2
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12439) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Rounding to the Nearest $50.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Want to round values so they are always even or odd? You can do it quickly and easily by using the EVEN and ODD worksheet ...
Discover MoreNeed to round the time in a cell to a certain value? There are a couple of ways you can do this with a formula.
Discover MoreRounding is a fact of life when it comes to using formulas in a worksheet. Sometimes that rounding can be a bit ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2017-10-03 13:43:45
Brian Canes
MROUND works when the signs of both arguments are the same.
So
=MROUND($B5,50*SIGN($B5))
will round positive or\and negative numbers to the nearest 50,
Note that this doesn't round to wards zero. So -12345 gets to -12350 and not -12300,
Regards
Brian
2017-10-02 06:40:04
Henk
Could you explain the second ROUND formula please?
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.
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2022 Sharon Parq Associates, Inc.
Comments