Forum Discussion
drubetskiyae
Sep 12, 2024Copper Contributor
COUNTIFS function
When trying to count the number of cells containing one and the second value, the function returns 0 a a a b b c c c =COUNTIFS(A1:A8;"a";A1:A8;"b")
Martin_Angosto
Sep 12, 2024Iron Contributor
A couple of alternatives:
=COUNTIF(A1:A8,"a")+COUNTIF(A1:A8,"b")
=SUM(COUNTIFS(A1:A8,{"a","b"}))