Countif fo rmultiple Criteria

I keep getting an unparseable error. I have tried the below four formulas which include referencing another page.

=COUNTIFS({TJ Regional Health eService Range 3}, "Open") + COUNTIF({TJ Regional Health eService Range 3},"Client Assigned") + COUNTIF({TJ Regional Health eService Range 3},"Cerner Assigned"), +COUNTIF({TJ Regional Health eService Range 3},"Change Requested"), + COUNTIF({TJ Regional Health eService Range 3},"Change Approved"), + COUNTIF({TJ Regional Health eService Range 3},"Change Denied")

=COUNTIF({TJ Regional Health eService Range 3}, "Open") + COUNTIF({TJ Regional Health eService Range 3},"Client Assigned") + COUNTIF({TJ Regional Health eService Range 3},"Cerner Assigned"), +COUNTIF({TJ Regional Health eService Range 3},"Change Requested"), + COUNTIF({TJ Regional Health eService Range 3},"Change Approved"), + COUNTIF({TJ Regional Health eService Range 3},"Change Denied")

=SUMPRODUCT(COUNTIF({TJ Regional Health eService Range 3,"Open", "Client Assigned", "Cerner Assigned", "Change Requested", "Change Approved", "Change Denied"}))

=COUNTIFS({TJ Regional Health eService Range 3}, "Open", "Client Assigned", "Cerner Assigned”, "Change Requested", "Change Approved", "Change Denied")

Best Answer

  • Dan W
    Dan W ✭✭✭✭✭
    edited 07/13/22 Answer ✓

    Try this


    =COUNTIFS({TJ Regional Health eService Range 3}, OR(HAS(@cell, "Open"), HAS(@cell, "Client Assigned"), HAS(@cell, "Cerner Assigned"), HAS(@cell, "Change Requested"), HAS(@cell, "Change Approved"), HAS(@cell, "Change Denied")))


    Or a cleaner version

    =COUNTIFS({TJ Regional Health eService Range 3}, OR(@cell = "open", @cell = "Client assigned", @cell = "Cerner assigned", @cell = "Change requested", @cell = "Change approved", @cell = "Change Denied"))

Answers

  • Dan W
    Dan W ✭✭✭✭✭
    edited 07/13/22 Answer ✓

    Try this


    =COUNTIFS({TJ Regional Health eService Range 3}, OR(HAS(@cell, "Open"), HAS(@cell, "Client Assigned"), HAS(@cell, "Cerner Assigned"), HAS(@cell, "Change Requested"), HAS(@cell, "Change Approved"), HAS(@cell, "Change Denied")))


    Or a cleaner version

    =COUNTIFS({TJ Regional Health eService Range 3}, OR(@cell = "open", @cell = "Client assigned", @cell = "Cerner assigned", @cell = "Change requested", @cell = "Change approved", @cell = "Change Denied"))

  • Would never have come up with those, thank you!

  • Dan W
    Dan W ✭✭✭✭✭

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!