=IF(OR(COUNTIF(CHILDREN(), 0) > 0, 0, 1)), IF(OR(Status@row = "Completed", 1, IF(Status@row = "Executed", 1, IF(Status@row = "Secured", 1))))
They work separately, I tried to add in the "OR" to have a column function.
Hi,
I would like to help if I can get some additional information.
In looking at your example, it looks like maybe you want to check the box in CMPLT if the status is Completed, Executed, OR Secured, OR if the task has any children. Is that correct?
The IF statement doesn't have a true false at the end but it appears to be the CMPLT checkbox column you are wanting to use the formula in.
I hope I can help, thank you.
@Kevin Smith
If Executed, Completed or Secured drop down is chosen, then CMPLT check box it is checked.
If all child check boxes are checked, then parent is checked.
I was hoping to combine the 2 functions, if possible, in order to create a column function.
Thank you, I get it.
I am not sure how to do this without a helper columns. Some people on here are really great at formulas, it takes me too much time sometimes to be that elegant so I tend to use helper columns. Quick and Easy. :)
I hope that helps, I would not be surprised if someone can do it all in one formula without helper columns.
Sorry, the formula for Col17 is
=COUNTIF(CHILDREN(CHKBX@row), 1)
and the one in HAS CHILDREN is
=COUNT(CHILDREN([Task Name]@row))
Try this:
=IF(OR(COUNTIFS(CHILDREN(), @cell <> 1) = 0, Status@row = "Completed", Status@row = "Executed", Status@row = "Secured"), 1)
@Paul Newcome
Tried it, but made all check boxes checked
Ok. How about this one...
=IF(OR(AND(COUNT(CHILDREN([Project Name / Address]@row)) > 0, COUNTIFS(CHILDREN(), @cell <> 1) = 0), Status@row = "Completed", Status@row = "Executed", Status@row = "Secured"), 1)
ref must be one of: categoryID, siteSectionID, category, category/categoryID, category/name, category/description, category/url, category/allowedDiscussionTypes, locale, siteSection, siteSection/basePath, siteSection/contentLocale, siteSection/sectionGroup, siteSection/sectionID, siteSection/name, siteSection/description, siteSection/apps, siteSection/attributes, layoutViewType, discussionID, commentID, page, latest, sort, sortType, lookupSort, discussion, discussion/name, tags, breadcrumbs, discussionApiParams, serverDraftID, serverDraft.