IF AND Formula

Hello, here is my sheet: https://app.smartsheet.com/b/publish?EQBCT=018b31c34f2f4140bc74f0ccd101aab7

I am trying to apply a check in "Include in Report" if the "Event' has a child. But only if the State is one of: In Progress, In Production, Not Started.

Been trying for hours now... finally just asking here! Any help would be greatly appreciated!

Answers

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    edited 10/25/23

    Hi @asheck

    I hope you're well and safe!

    Try something like this.

    I've added the formula to rows five and down. (I couldn't convert it to a column formula)

    =IF(COUNTIFS(CHILDREN(State@row), OR(@cell = "In Progress", @cell = "In Production", @cell = "Not Started")), 1)

    Did that work/help?

    I hope that helps!

    Be safe, and have a fantastic week!

    Best,

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

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    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.

  • Eric Law
    Eric Law ✭✭✭✭✭✭

    Hello @asheck You don't need to check for children with the following formula as it will skip it if it has no children.

    =IF(OR(HAS(CHILDREN(State@row), "Not Started"), HAS(CHILDREN(State@row), "In Progress"), HAS(CHILDREN(State@row), "In Production")), 1, 0)

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!