Formula help please

dave.mcpherson56751
dave.mcpherson56751 ✭✭✭✭✭
edited 12/09/19 in Smartsheet Basics

Hi, first time posting so fingers crossed someone can kindly help?

I would like a parent cell to auto populate, 

I have 3 children cells below, the options for the children cells are "not Started or "Done"

I would like parent status to read "in progress" if 1 or 2 of the children cells are done and read "done if all 3 children cells are done.

Thank you for anyone that can help

Dave Mac

 

Comments

  • J. Craig Williams
    J. Craig Williams ✭✭✭✭✭✭

    This formula goes a little bit beyond your request, but I hope satisfies.

    =IF(COUNT(CHILDREN()) = COUNTIF(CHILDREN(), "Done"), "Done", IF(COUNT(CHILDREN()) = COUNTIF(CHILDREN(), "Not Started"), "Not Started", "In Progress"))

    This will count ALL children (not only 3). If all are "Done", then the parent is "Done". If all are "Not Started", then the parent is "Not Started". Otherwise, the parent is "In Progress".

    I hope this helps.

    Craig

  • dave.mcpherson56751
    dave.mcpherson56751 ✭✭✭✭✭

    Hi Craig,

     

    That is brilliant thank you and works a treat. Really struggling to get my head around formulas at the moment but quite new to Smartsheets. your help is greatly appreciated.

    Thanks again

    Dave

  • J. Craig Williams
    J. Craig Williams ✭✭✭✭✭✭

    I am glad it helped.

    Craig