Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. 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 Even Integer.
by Allen Wyatt
(last updated January 11, 2020)
Chuck asked if there was a way in Excel to force rounding to the nearest even integer. He expressed this desire based on some statistical analysis that he was doing.
There are several ways that you can round to the nearest even integer, but the answer you select depends on how you define "nearest." For instance, if the number you want to round is 13, is the nearest even integer 12 or 14? Does the answer change if dealing with negative numbers, as in -13?
If you believe that the next even integer is always away from zero, then you can use the EVEN function, which always rounds to the next even integer away from zero. Thus, -13 is rounded to -14, and 13 is rounded to 14. This may work great when rounding integers, but it doesn't work that great if you are rounding non-whole values. For instance, EVEN rounds 12 to 12, but rounds 12.1 to 14, even though 12.1 is clearly closer to 12 than to 14.
If the numbers you are rounding are non-whole numbers, you'll need a formula. The following formula will work for this purpose:
Assuming your non-rounded value is in cell A2, this formula divides the value by 2 and then rounds that value to an integer, and then multiplies the result by 2. What this means is that all values, 11.1 through 12.999, are rounded to 12. (This works for negative values, as well.)
ExcelTips is your source for cost-effective Microsoft Excel training. This tip (10845) applies to Microsoft Excel 2007, 2010, 2013, 2016, 2019, and Excel in Office 365. You can find a version of this tip for the older menu interface of Excel here: Rounding To the Nearest Even Integer.
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!
Rounding is a fact of life when it comes to using formulas in a worksheet. Sometimes that rounding can be a bit ...Discover More
How to round values half way between two boundaries is apparently a topic of contention in some sectors of the ...Discover More
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
FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."
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.