Rounding

C

Craig

Is there a way to round to the nearest 5%. For example if I have a result
of a formula equal to 84% I want to have it rounded up to 85%, and if the
result is 87% I want it rounded up to 90%. Is there a formula to do this?
Thanks for any help!
 
P

Peo Sjoblom

That is not nearest 5%, 87 should round down to 85?

Maybe round up

=CEILING(A1,0.05)

--


Regards,


Peo Sjoblom
 
C

Craig

Thanks! This is what I needed.


Peo Sjoblom said:
That is not nearest 5%, 87 should round down to 85?

Maybe round up

=CEILING(A1,0.05)

--


Regards,


Peo Sjoblom
 
P

Peo Sjoblom

Too much work plus it is not nearest 5%, it is nearest 500%

This is nearest 5%


=ROUND(A1/0.05,0)*0.05
--


Regards,


Peo Sjoblom

=IF((A1-FLOOR(A1;5))<(CEILING(A1;5)-A1);FLOOR(A1;5);CEILING(A1;5))

Nearest 5.
 

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

Rounding Problem 5
Rounding 5
Formula Problem 4
Roundup formula question 3
Finding Friday 4
Maximum result in calculated field 2
Rounding question 9
Ratio Rounding 6

Top