Rounding Up to the 50

L

Lady Excel

Are there any functions which will round numbers up to the nearest 50? eg.
50, 100, 150, 200, etc.
 
F

FARAZ QURESHI

Supposing your number is in A1. Try the following:
=IF(A1-FLOOR(A1,50)<25,FLOOR(A1,50),CEILING(A1,50))
 
J

joeu2004

Are there any functions which will round numbers up
to the nearest 50? eg. 50, 100, 150, 200, etc.

You subject line says "round up to 50", which is different from "round
to the nearest 50". Which is it?

One way to round to the nearest 50:

=mround(A1,50)

If you get a #NAME? error, use Excel Help to find information on how
to use the MROUND function.

Alternatively:

=round(A1/50,0)*50

That also makes it easy to round up or down to a multiple of 50:

=roundup(A1/50,0)*50

=rounddown(A1/50,0)*50

One of those solutions should work for you.
 

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

Similar Threads


Top