Forum Discussion

Rudrabhadra's avatar
Rudrabhadra
Brass Contributor
Jul 26, 2022
Solved

Roundoff values (not for decimals)

I need to round off values based on my calculation to the next multiple of 10. For eg.. if my calculation returns a value 42 it should be rounded to 50, 58 to 60, 71 to 80. How can this be done.
  • Riny_van_Eekelen's avatar
    Riny_van_Eekelen
    Jul 27, 2022

    Rudrabhadra Well, you ask for rounding up to the next 10. That's what -1 does. A -2 rounds to the next 100, -3 to the next 1000 and so on.

     

    Rounding up to the next multiple of 5 would be:

    =CEILING(A1,5)

     

    And that, of course, works for every other multiple you would want to use.