How to show last passed child on parent row?
I have been trying different ways to show last passed "gate" of a project. The project can have from none to few child rows. There is a column with passed gates as tick marks.
Now I want to show the last passed gate text side by the parent row. I haven't figured out how to do this automatically.
Any help is welcome!
Best Answer
-
Try something like this:
=IF(COUNT(CHILDREN(Project@row)) <> 0, INDEX(CHILDREN(Project@row), COUNTIFS(CHILDREN(Done@row), @cell = 1)))
Answers
-
Try something like this:
=IF(COUNT(CHILDREN(Project@row)) <> 0, INDEX(CHILDREN(Project@row), COUNTIFS(CHILDREN(Done@row), @cell = 1)))
-
@Paul Newcome , thanks that works perfectly!
I tested something similar but couldn't get my formula working, it didn't include "@cell=1"
-
One small issue: if there is no passed gates there is an error:
-
Try this:
=IFERROR(IF(COUNT(CHILDREN(Project@row)) <> 0, INDEX(CHILDREN(Project@row), COUNTIFS(CHILDREN(Done@row), @cell = 1))), INDEX(CHILDREN(Project@row), 1))
Help Article Resources
Categories
Check out the Formula Handbook template!