Rounding Up

atmospheric

Well-known Member
Joined
Jul 16, 2002
Messages
565
How can I round up the result of a formula to it's nearest 0.5?, and where am I going wrong with:

=MROUND(A1,0.5) where A1=1.46

Thanks in advance
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

atmospheric

Well-known Member
Joined
Jul 16, 2002
Messages
565
I'd like the results to be:

1.46 to equal 1.5
7.09 to equal 7.5
15.65 to equal 16
78.78 to equal 79 etc

i.e. rounding the results UP to either the next .5 or whole number

HTH
 

atmospheric

Well-known Member
Joined
Jul 16, 2002
Messages
565
That works perfectly Brian, thanks.

Going back to my original question though, why can't I use MROUND? Or, to put it another way, What does MROUND do?
 

Scott Huish

MrExcel MVP
Joined
Mar 17, 2004
Messages
19,958
Office Version
  1. 365
  2. 2010
Platform
  1. Windows
MROUND rounds to the nearest multiple (it rounds up and down).

But you want to round up to a multiple which is different.

For example:
7.09 with MROUND would round to 7 because it is closer to 7 than it is to 7.5
 

atmospheric

Well-known Member
Joined
Jul 16, 2002
Messages
565
Thanks Hotpepper. I went back to the Excel Helpfile AGAIN...the reason it wouldn't work for me was that I didn't have the Analysis Toolpack loaded. The results as you describe are what I expected.

Thanks for everyones help.
 

Forum statistics

Threads
1,172,019
Messages
5,878,759
Members
433,370
Latest member
mcleven

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top