Please Note: This article is written for users of the following Microsoft Excel versions: 97, 2000, 2002, and 2003. If you are using a later version (Excel 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Excel, click here: Rounding to the Nearest Half Dollar.
Written by Allen Wyatt (last updated April 15, 2023)
This tip applies to Excel 97, 2000, 2002, and 2003
When working with financial data, one common need is to round amounts to some specific point. For instance, you may need to round amounts to the nearest half dollar. The traditional way to perform such a rounding task is to use the ROUND function, with a formula like this:
=ROUND(E27/0.5,0)*0.5
The formula divides the value in E27 by 0.5 (half a dollar), and then rounds it to zero decimal places. The value is then multiplied by 0.5 to get it back to the form you need. If you prefer to not multiply and divide by decimal amounts, you can accomplish the same task in this manner:
=ROUND(E27*2,0)/2
Perhaps an even better approach is to use the MROUND function. This function will round a value to any multiple you specify. In this case, if you want to round the value in E27 to the nearest half dollar, you would use this formula:
=MROUND(E27,0.5)
The MROUND function is part of the Analysis ToolPak. If the function doesn't work for you, you'll need to make sure it is available by choosing Tools | Add-Ins.
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2620) applies to Microsoft Excel 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Excel (Excel 2007 and later) here: Rounding to the Nearest Half Dollar.
Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!
When processing data it is not unusual to need to round that data in some way. For instance, you may need to round a ...
Discover MoreSome formulas just don't give the results you expect. Sometimes this is due to the way that Excel handles rounding. ...
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."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
Got a version of Excel that uses the menu interface (Excel 97, Excel 2000, Excel 2002, or Excel 2003)? This site is for you! If you use a later version of Excel, visit our ExcelTips site focusing on the ribbon 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