This works for me using helper columns where I do count(parent) and count(children)
=IF(OR(children18 = 0, Parent18 > 0), 1, 0)
If I substitute the count(children) its #UNPARSEABLE
=IF(OR(count(children) = 0, Parent18 > 0), 1, 0)
Ok. Here is a little tip for when you want to consolidate...
Take the formula in the column you want to remove and copy everything except for the initial =.
Then go to the formula you are building into, highlight the full cell reference, then paste.
So if your columns are [Master Formula], [Children Column], and [Parent Column]...
[Master Formula]: =IF(OR([Children Column]@row = 0, [Parent Column]@row > 0), 1, 0)
[Children Column]: =COUNT(CHILDREN())
[Parent Column]: =COUNT(PARENT())
So you are going to take the formula from [Children Column] (excluding the initial =) and drop it into the [Master Formula where it says [Children Column]@row.
=IF(OR(COUNT(CHILDREN()) = 0, [Parent Column]@row > 0), 1, 0)
And then the same for [Parent Column]@row...
=IF(OR(COUNT(CHILDREN()) = 0, COUNT(PARENT()) > 0), 1, 0)
And there is your consolidated formula...
What formulas are you using in the parent and children columns?
Children Column
=COUNT(CHILDREN())
Parent Column
=COUNT(PARENT())
Thanks. That worked.
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, sort, discussion, discussion/name, tags, breadcrumbs, discussionApiParams, serverDraftID, serverDraft.