Autofill field using the IF function

Options
etenenbaum
etenenbaum ✭✭
edited 12/09/19 in Formulas and Functions

Hi

I have two columns. One is called "Hierarchy" and the other is called "Description"

I'd like to have "Description" automatically filled with this text/forumula "=PARENT()" if the value in the Hierarchy column is "2"

Can this be done using the IF function or through another method?

Thanks

Comments

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Options

    Hi,

    Yes, it is.

    Try something like this.

    =IF(Hierarchy@row = 2; PARENT())

    The same version but with the below changes for your and others convenience.

    =IF(Hierarchy@row = 2, PARENT())

    Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.

    Did it work?

    Hope that helps!

    Have a fantastic day!

    Best,

    Andrée Starå

    Workflow Consultant / CEO @ WORK BOLD

    work-bold

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!