From the below data, I need to count all the 2s that are closed. I tried using COUNTIFS but it counts the column with comma separated values but not the non-comma columns. Here's the formula that I used:
=COUNTIFS(A:A, "*2*", B:B, "closed")
This returns value of 2 instead of 4.
A B
----- -----
1,2,3 open
2 closed
2 closed
1,3 open
2,3 closed
1,2 closed
2 open