Written by Allen Wyatt (last updated December 3, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021
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, assuming you want to round the value in cell F5:
=ROUND(F5/50,0)*50 =ROUND(F5*2,-2)/2
Remember that the second parameter in the ROUND function is used to specify how many decimal places you want in the result of the ROUND function. Most people would use the first example, which means "I don't want anything after the decimal point." The second example, however, effectively rounds to the nearest 100 because it rounds to 2 places to the left of the decimal point.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (12439) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. You can find a version of this tip for the older menu interface of Excel here: Rounding to the Nearest $50.
Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!
When working with financial data, it's easy to round values to the nearest dollar. What if you want them rounded to the ...
Discover MoreWhen processing data it is not unusual to need to round that data in some way. For instance, you may need to round a ...
Discover MoreIf you want to round a value to some multiple of a whole number, you'll want to become familiar with the MROUND function. ...
Discover MoreFREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
2022-12-03 10:10:03
J. Woolley
Re. MROUND, this formula will accommodate positive or negative values:
=MROUND(B7,50*SIGN(B7))
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 © 2024 Sharon Parq Associates, Inc.
Comments