At Risk Flags

mel_berk
mel_berk ✭✭
edited 12/09/19 in Formulas and Functions

How do I format my At Risk column so the flags only appear in the "children" rows, as shown in the screenshot?

SmartSheet.png

Comments

  • SYSPK
    SYSPK ✭✭✭✭✭✭

    Put a period, or any text, in the parent rows. Then color the letters the same as the background color. You can do this manually, but if you have a bunch of rows like that, you may want to create a formula and tell it to show a period if it's a parent row- which you'd need to define based on the criteria on your sheet which defines the parent rows.

  • Thank You, that worked like a charm.

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

    Hi Mel,

    I use this one all the time in my client solutions. I name the column Level and use that to simplify conditional formatting and more.

    Try something like this.

    =IF(COUNT(CHILDREN([Task Name]@row)) > 0; COUNT(ANCESTORS()) + 1)

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

    =IF(COUNT(CHILDREN([Task Name]@row)) > 0, COUNT(ANCESTORS()) + 1)

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

    I hope that helps!

    Have a fantastic weekend!

    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!