Using If Formula to Populate Status of Parent Row

I am looking for help writing a formula to populate a parent row of a Single Select Dropdown column.

The Parent row should reflect the Status of the Child rows - for instance, if any of the Child row statuses are set to Not Started, In Progress, Follow Up Required or On Hold, I want the Parent status to be In Progress. If all of the Child rows statuses are set to Complete, I want the Parent row status to be Complete. If all of the Child row status are set to Skip, the Parent row Status should be Skip. I've been trying different combinations but have yet to get a version to work and continue to get #UNPARSEABLE.

Any help that could be provided would be very much appreciated!!!!

Tags:

Best Answers

  • Bridgett Alonso
    Bridgett Alonso ✭✭✭
    Answer ✓

    Hey @David Joyeuse!

    Thank you so much! That really did the trick! You have no idea how much this is going to help me and our team with our work!

    Thank you very very much!

Answers

  • David Joyeuse
    David Joyeuse ✭✭✭✭✭

    Hi @Bridgett Alonso

    Could you please list all of your different statuses possible in the Status column? That could help making a faster nested IF formula rather than listing all parameters :)

  • Hi David,

    Here are the statuses in the Status column:

    Not Started

    Skip - Not Applicable to District

    In Progress

    District Follow Up Required

    Complete

    On Hold - Dark Days Task


    Here is the formula that is kind of working right now:

    =IF(CONTAINS("Not Started", CHILDREN()), "Not Started", IF(CONTAINS("In Progress", CHILDREN()), "In Progress", IF(CONTAINS("District Follow Up Required", CHILDREN()), "District Follow Up Required", IF(CONTAINS("Skip - Not Applicable to District", CHILDREN()), "Skip - Not Applicable to District", IF(CONTAINS("On Hold - Dark Days Task", CHILDREN()),"On Hold - Dark Days Task", IF(CONTAINS("Complete", CHILDREN()),"Complete", "In Progess")))


    What I'm struggling with is this - when all of the Child rows are set to the same status (if there is more than one child row), I want the Parent row to reflect that status. Right now, if all of the Child rows are set to "Not Started", the Parent Row shows "In Progress". The only time the Parent row should be anything other than "Complete" or "In Progress" is if all of the Child rows have the same value such as "Not Started" or "District Follow Up Required".


    Any help you can lend would be so very much appreciated!!!!

  • Hi @David Joyeuse,

    I forgot to tag you in my response but I've replied with the statuses and with the formula that is kind of working but not exactly like I would like it to work.

    Again, thank you for any help you can provide. :)

    Bridgett

  • Is someone able to help me with this formula? I really need to get this figured out.

  • Bridgett Alonso
    Bridgett Alonso ✭✭✭
    Answer ✓

    Hey @David Joyeuse!

    Thank you so much! That really did the trick! You have no idea how much this is going to help me and our team with our work!

    Thank you very very much!

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!