Hi all,
I wrote a formula that would cause the parent row to be flagged if any of the child rows were flagged:
=IF(COUNT(CHILDREN([Protocol ID]@row)) > 0, IF(COUNTIF(CHILDREN(), 1) > 0, 1))))
I want to be able to convert this to a column formula, so I created a "level" column so that parent rows would be labeled as level 1 & child rows would be blank, then I wrote this formula:
=IF(Level@row = 1, (IF(COUNT(CHILDREN([Protocol ID]@row)) > 0, IF(COUNTIF(CHILDREN(), 1) > 0, 1))))
This worked just fine when the formula was just applied to the parent & child rows, but when I converted it to a column formula, I couldn't flag the child rows anymore and the formula therefore didn't work.
Is there a different way to write or apply the formula so that this will apply when applied as a column formula?
Thank you!