Discussion Locked

Round a number in Excel

0 helpful
5 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to be able to round a number in Excel to the nearest 1/2. In other words, if I have 3.04, I want that to round to 3.00, but if I have 3.45, I want that to round to 3.50 instead of 3.0. Is there any formula or combination of formulas that will let me do this?

5 replies

by roland63

A search in Excel's "help" under ROUNDUP and also under ROUNDDOWN will explain to you the details.

Good luck.

by jillies

ROUNDUP and ROUNDDOWN only round to the nearest tenth. I want to round to the nearest tenth in .5 or .0.

In other words, 3.04 by default rounds to 3.1. I want it to round to 3.0 and I want 3.3, for example, to round to 3.5.

by steved

The function you want is MROUND. See Help file excerpt that I've pasted below. You'll get the result you're looking for with MROUND(x,0.5) where x is the number or cell containing the value you wish to round.

Be sure to note what the Help file says about having to install the Analysis ToolPak add-in. You will probably have to close and re-open Excel before that function is available after installing and activating it.

-------------------------------------
MROUND

Returns a number rounded to the desired multiple.

If this function is not available, run the Setup program to install the Analysis ToolPak. After you install the Analysis ToolPak, you must enable it by using the Add-Ins command on the Tools menu.

Syntax

MROUND(number,multiple)

Number is the value to round.

Multiple is the multiple to which you want to round number.

Remarks

MROUND rounds up, away from zero, if the remainder of dividing number by multiple is greater than or equal to half the value of multiple.
-----------------------------------------

I hope this helps.

Steve Diamond

This discussion is closed to new replies.