Rounding

A

Arceedee

Im trying to round a number to the nearest 0.5 either up or down. Example:
3.2 becomes 3.0 or 3.4 becomes 3.5.

Please help. I'm getting so frustrated with something that should be simple.

Thanks
 
J

JoeU2004

Arceedee said:
Im trying to round a number to the nearest 0.5 either up or down.

=mround(A1,0.5)

If you get a #NAME error, see the Help page for MROUND. Alternatively,
either of the following:

=round(A1/0.5,0)*0.5

=round(A1*2,0)/2


----- original message -----
 
D

David Biddulph

=MROUND(A1,0.5)
In case of problems, read Excel help for the MROUND function.

Alternatively
=ROUND(2*A1,0)/2
 
D

David Biddulph

Won't that always round UP, rather than to the nearest, Jacob?
3.2 goes to 3.5, not 3.0 as requested.
 
J

Jacob Skaria

Thanks. During the initial reding "either up or down" caught my mind/.

If this post helps click Yes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top