• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

ROUNDUP to nearest 5th except 10th

davidlim

Member
hi,

i know this is a strange request, but i'm looking for a formula to roundup any number to nearest 5th, but not 10th.

example.

137, roundup to 145 (excluded 140)
318, roundup to 325 (excluded 320)
220, roundup to 225

tried ROUNDUP and MROUND, either formula will gives me nearest 10th as well.

thanks
 
sambit, I think that will roundup 5 to 15.

If 5 should remain as 5...
=IF(RIGHT(A1,1)="5",A1,MROUND(A1,10)+5)
should work.
 
Back
Top