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 Up to the Next Half.

Rounding Up to the Next Half

by Allen Wyatt
(last updated March 24, 2015)

4

Terry has a need to round numbers up to the next 0.5. This means that a number such as 1.1 would round up to 1.5, but 1.6 would round up to 2.0. He tried using MROUND, but it only rounds to the nearest half (1.1 becomes 1.0 and 1.6 becomes 1.5).

Excel provides several different functions that you can use for different rounding purposes, such as ROUND, ROUNDUP, ROUNDDOWN, MROUND, FLOOR, CEILING, etc. Each of these has been discussed fully in other issues of ExcelTips. In this particular instance, CEILING would probably be the best solution:

=CEILING(A1,0.5)

This rounds the value in A1 upwards, to the next half. Actually, CEILING rounds away from 0, which means that positive numbers are rounded up but negative numbers are rounded down, away from zero. (For example, -1.1 would be rounded to -1.5, not to 1.0.)

Of course, there are multiple ways to do various tasks in Excel, and this type of rounding is no exception. If you would rather use ROUNDUP instead of CEILING, you could use the following formula:

=ROUNDUP(A1*2,0)/2

If you prefer to use MROUND, you could do the following:

=MROUND(A1+0.24999999,0.5)

This works because you are adding a value (0.249999) that always pushes MROUND over the half-way "tipping point" to force the result upwards.

These are just a few of the easy ways to accomplish the desired result. There are many other ways using the other rounding functions, as well.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (4079) 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 Up to the Next Half.

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

Freezing Top Rows and Bottom Rows

Freezing the top rows in a worksheet so that they are always visible is easy to do. Freezing the bottom rows is not so easy. ...

Discover More

Automatically Adjusting Height for Text Boxes

Text boxes are often used to enhance the layout of documents. You may want a text box that adjusts its height automatically ...

Discover More

Determining How Many Styles are Available

Got a macro that processes or uses styles? You definitely need to know how many styles Word has available in the document. ...

Discover More

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!

More ExcelTips (menu)

Rounding to Two Significant Digits

Excel provides a variety of functions you can use to round values in any number of ways. It does not, however, provide a way ...

Discover More

Rounding To the Nearest Even Integer

Do you need your numbers to be rounded to an even integer value? How you accomplish the task depends on the nature of the ...

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."

View most recent newsletter.

Comments

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 8Mpixels. 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 eight more than 8?

2016-04-15 06:52:44

Master

Wrong formula.
Ceiling (1.1,0.5) = 2 not 1.5
Ceiling (1.6,0.5) = 2 not 1.5


2015-10-01 10:54:03

Keith Leonard

When a negative numbers like -0.5 is shown it is getting rounded up but I would like it to be rounded down to zero and positive numbers 0.5 are rounded away from zero as shown in my formula below which is how I want it shown. Can any one help with this problem.

=ROUND(SUM(B48*(113/113)+64.5-71),0)


2015-09-17 05:17:28

MGD

So, if this is how to round it to 0.5 and 0.0, how do you program it to round to 0.5, 0.9 and 0.0?

Thanks in advance.


2014-08-01 10:53:47

trevor

do you have instructions on how to set this up. Im not too clever beyond the basics with excel.

thanks


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.

Newest Tips
Subscribe

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

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.