Dropdown selection is this, then this (Formula)

Morris R
Morris R ✭✭✭✭
edited 05/10/24 in Formulas and Functions

Hello - thank you

Looking for help on If Dropdown selection is this, then this.

One column is Project Size hoping the next column could display hours allocated.

IE:

if you select SMALL = 30 minutes , MEDIUM = 60 minutes, LARGE = 120 MINUTES and XL = 240 minutes (and if nothing is selected you get 0 minutes

thank you in advance

Answers

  • Courtney S.
    Courtney S. ✭✭✭✭✭
    edited 05/10/24

    Look into the IF function here - you can nest them. https://help.smartsheet.com/function/if

    Like this: =IF(Size@row = "Small", "30 Minutes",IF(Size@row = "Medium", "60 Minutes",IF(Size@row = "Large", "120 Minutes",IF(Size@row = "XL", "240 Minutes","0 Minutes"))))

  • Morris R
    Morris R ✭✭✭✭

    Hello - Thank you Courtney

    Formula worked with slight variation with the @row portion

    =IF([Size]@row = “SMALL”, “30 Minutes”, IF([Size]@row = “Medium”, “60 Minutes”, IF([Size]@row = “Large”, “120 Minutes”, IF([Size]@row = “XL”, “240 Minutes”, “0"))))

    Thank you

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!