I want to count the C column, whose value is in a list of strings specified in Cell A1 with ',' as the separator, e.g. A1="A,B,C,D", the value can be any of "A", "B", "C" or "D".
Formula is something like this:
B1=COUNTIFS(C:C,Split(A1,","))
I also have A2="1,2,3,4", I want to do the same like:
B2=COUNTIFS(C:C,Split(A2,","))
Sure it can't work, does anyone have an idea to make it work?
ColumnB is the result column, I want to count the occurences of items in ColumnA splitted with ',':
ColumnA ColumnB ColumnC
-----------------------------------
1,2,3,4 8 1
1,2 6 1
2,3 2 1
3,4 2 1
1
2
3
4