Rounding Up only.

How to round up to next 10 only even if it's under 5. I've used Roundup but that didn't worked.

image.png

Best Answer

  • Andy_B
    Andy_B ✭✭✭✭✭
    Answer ✓

    Hi @Saj,

    You were on the right track with the ROUNDUP function, but when you put a 10 after the Total@row, you are asking it to round to the nearest tenth decimal place (100.0000000000).

    image.png

    To round to the tens place (100.0) you need to use a negative one in your formula:

    =ROUNDUP(Total@row, -1)

    This will give the following result:

    image.png

    If you want the four rows with 100 to round up to 110, you can add the following modification to your formula:

    =IF(RIGHT(Total@row, 1) = 0, ROUNDUP(Total@row, -1) + 10, ROUNDUP(Total@row, -1))

    This will add ten to any number in the TOTAL column where the rightmost digit is a zero.

    image.png

    Hope this helps!

    ~Andy B

Answers

  • Andy_B
    Andy_B ✭✭✭✭✭
    Answer ✓

    Hi @Saj,

    You were on the right track with the ROUNDUP function, but when you put a 10 after the Total@row, you are asking it to round to the nearest tenth decimal place (100.0000000000).

    image.png

    To round to the tens place (100.0) you need to use a negative one in your formula:

    =ROUNDUP(Total@row, -1)

    This will give the following result:

    image.png

    If you want the four rows with 100 to round up to 110, you can add the following modification to your formula:

    =IF(RIGHT(Total@row, 1) = 0, ROUNDUP(Total@row, -1) + 10, ROUNDUP(Total@row, -1))

    This will add ten to any number in the TOTAL column where the rightmost digit is a zero.

    image.png

    Hope this helps!

    ~Andy B

  • Saj
    Saj ✭✭✭✭

    Hi ~Andy B,

    Appreciate your response and second formula worked like a magic. 😃

    Thank you so much.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!