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 Even Integer.

# Rounding To the Nearest Even Integer

Written by Allen Wyatt (last updated January 27, 2021)
This tip applies to Excel 97, 2000, 2002, and 2003

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:

=INT(A2/2+0.5)*2

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 13, are rounded to 12. (This works for negative values, as well.)

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2828) 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 Even Integer.

##### Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

##### MORE FROM ALLEN

Using Duplex Printing

Want to print on both sides of a piece of paper? Some printers have the capability to do two-sided printing ...

Discover More

Determining If a Number is Odd or Even

If you need to know whether a particular value is odd or even, you can use this simple formula. Designed to be used in a ...

Discover More

Unwanted Weekend Dates in Chart

If you chart data that includes dates along one of the axes, you might be surprised to find out that the chart includes ...

Discover More

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!

Avoiding Rounding Errors in Formula Results

Some formulas just don't give the results you expect. Sometimes this is due to the way that Excel handles rounding. ...

Discover More

Rounding in Results

Rounding is a fact of life when it comes to using formulas in a worksheet. Sometimes that rounding can be a bit ...

Discover More

Rounding to the Nearest Half Dollar

When working with financial data, it's easy to round values to the nearest dollar. What if you want them rounded to the ...

Discover More
##### Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. Youâ€™ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 6 - 6?

There are currently no comments for this tip. (Be the first to leave your commentâ€”just use the simple form above!)

##### This Site

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.