Hi,
I'm trying to count how many check boxes (out of a possible 4) are checked on a row (basically, countif w OR x OR y OR z is checked).
I've tried many variations of the following formula:
=COUNTIFS(OR[PNS]@row = "1", [EIP]@row = "1"))
Thank you!
If your column title contains a space, it must be surrounded with square brackets. This should fix it.
=COUNTIFS(PNS@row, 1) + COUNTIFS(EIP@row, 1) + COUNTIFS(Facilities@row, 1) + COUNTIFS([Patient Care Experience]@row, 1)
Are the wxyz column grouped together? If so, this should work:
=COUNTIFS(w@row:z@row, 1)
Unfortunately, the columns are not grouped together and I am unable to rearrange them :(
A little longer, but it will still work fine.
=COUNTIFS(w@row, 1) + COUNTIFS(x@row, 1) + COUNTIFS(y@row, 1) + COUNTIFS(z@row, 1)
Edit: Technically, you could use COUNTIF instead of COUNTIFS since it is only comparing one item. I just always use COUNTIFS for the sake of consistency.
I'm getting an error with this formula (which replaces the w/x/y/z with the actual column names):
=COUNTIFS(PNS@row, 1) + COUNTIFS(EIP@row, 1) + COUNTIFS(Facilities@row, 1) + COUNTIFS(Patient Care Experience@row, 1)
Thanks for the reminder on that. It all works now. Thanks for your assistance!!
Awesome, I'm glad it worked for you!
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.