Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021. 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: Rounding to the Nearest $50.
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.
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!
Rounding is a fact of life when it comes to using formulas in a worksheet. Sometimes that rounding can be a bit ...
Discover MoreWhen 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 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