Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, and 2013. 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.

# Rounding To the Nearest Even Integer

by Allen Wyatt
(last updated March 23, 2018)

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 (10845) applies to Microsoft Excel 2007, 2010, and 2013. You can find a version of this tip for the older menu interface of Excel 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

Viewing Footnotes

Adding footnotes to a document is essential for some types of writing. How you view those footnotes depends on the ...

Discover More

Changing the Footnote Continuation Notice

When a footnote needs to span two printed pages, Word prints a continuation notice at the end of the footnote being ...

Discover More

Removing a Tile from the Start Screen

The Start screen is a busy place in Windows. If it is too busy for your tastes, you can easily remove any of the tiles it ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros today!

##### More ExcelTips (ribbon)

Rounding by Powers of 10

Need to round a value by a power of 10? You can do it by using the ROUND function as described in this tip.

Discover More

Rounding Numbers

The primary method of rounding values is to use the ROUND function in your formulas. Here's an introduction to this ...

Discover More

Rounding to Even and Odd Values

Want to round values so they are always even or odd? You can do it quickly and easily by using the EVEN and ODD worksheet ...

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}] 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 four minus 2?

2018-03-24 13:17:02

Peter Atherton

Allen's formula rounds up to the next integer, including the number n.0 (11.0) The round function round to the nearest whole number, 11.0 - 11.4 round to 11; 11.5 - 11.9 round to 12. The TRUNC function truncates n to its integer value (strips the decimals) and ROUNDUP rounds up to the next whole number.
(see Figure 1 below)

Figure 1.

2018-03-24 10:09:28

Yvan Loranger

=round(a2/2)*2 works better, especially for negatives

2018-03-23 23:45:05

James

The formula is great and does what is probably wanted. But, without trying it, won't the range of values getting rounded to 12 be those from 11 to 12.999?

##### This Site

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.