or Explore Discussions

# Parent Flagged if Children Flagged

edited 12/09/19
03/16/18 Edited 12/09/19

Hi all.

I have a task list that consist of multiple parent rows with Children

I have modifided so that if a task is delayed or dates are not added in the task will get a flag.

What i would like is to have if one or more of the Cildren Rows are Flagged the parent row will be flagged. but cant figure it out.

Ivé tried with =IF(SUM(CHILDREN())>=1; 1 ; 0)

If any of you could help me out

Popular Tags:

• Hey Simon,

I worked up something similar for my own use. I think you could modify it to fit your needs. Have a peek:

=IF(COUNTIF(CHILDREN(), "Red") > 0, "Red", IF(COUNTIF(CHILDREN(), "Yellow") > 0, "Yellow", IF(COUNTIF(CHILDREN(), "Green") > 0, "Green", IF(COUNTIF(CHILDREN(), "Update") >= 1, "Update", IF(COUNTIF(CHILDREN(), "") >= 1, "Pending CO", IF(COUNTIF(CHILDREN(), "Gray") = COUNT(CHILDREN()), "Gray", "TBD"))))))

• Hi,

This one worked for me.

on the "Parent" row cells of the flag column i have placed this formula:

=IF(COUNTIF(CHILDREN(), =1) > 0, 1, 0)

• Hi, tested this and id worked perfect, Thank you!

• Ofir's formula worked perfectly!

Thanks!

-Chris

• Glad it worked and helped all of you!