Counting Number of Specific Selections in a Cell per Row. COUNTM or COUNTIF
(I created a mockup below and included the formula that errors as unparsable for me.)
I would like the count that "Alpha" and/or "Beta" appears in the Failure Reason column for each row not a column total, excluding "Etc". We are only looking at certain failure reasons and excluding others from this total.
 EXAMPLE: 12345 contains "Alpha" and "Beta" so the total should be 2. Number 45678 has "Etc" so it should be 0 (as neither Alpha or Beta are present)
Currently my formulas are these below, all giving unparseable.
=COUNTIFS([Failure Reason]@row, OR(CONTAINS("Alpha", @Cell), CONTAINS( "Beta", @cell)))
=COUNTM(HAS([Failure Reason]@row, or(CONTAINS("Alpha", @Cell), CONTAINS( "Beta", @cell)))
Answers

I don't know if this is exactly what you're looking for, but this formula worked when I tested it out.
=COUNTIF([Failure Reason]@row, CONTAINS("Alpha", @cell)) + COUNTIF([Failure Reason]@row, CONTAINS("Beta", @cell))
Depending on how many failure reasons exist, that could get pretty long, but if it's only a few, I think it could work.

Hey @Shelby Wilder
In addition to the skillful approach of Chloe, your original formula should work. In the post above you have an @cell in your "Alpha" criteria that is capitalized. @cell and @row must be lower case.
=COUNTIFS([Failure Reason]@row, OR(CONTAINS("Alpha", @cell), CONTAINS( "Beta", @cell)))
Kelly
Help Article Resources
Categories
Check out the Formula Handbook template!