Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

COUNTIF using OR

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!

Tags:

Best Answer

  • Community Champion
    Answer ✓

    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)

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions