D
DuncanH
Taking Frank Kabel's solution one step furrther, I would
like to add wildcards into my criteria. I wish to count
the number of simultaneous occurrences of "*a*" in Col A
and "*x*" in Col B where * is a wild card as I do not know
where a or x will occur.
Example : I have a table as follows
Col A Col B required result
a b x y 1
b c y x z 0
c b a y z 0
c a d y x 1
d c z y 0
Result = 2 occurences
None of the formulae I have seen work, I can get "a" 3
times, "x" 3 times, "a" and "x" 6 times, or errors, or
sometimes nearly right when I don't use wildcards.
Any ideas? Thank you
like to add wildcards into my criteria. I wish to count
the number of simultaneous occurrences of "*a*" in Col A
and "*x*" in Col B where * is a wild card as I do not know
where a or x will occur.
Example : I have a table as follows
Col A Col B required result
a b x y 1
b c y x z 0
c b a y z 0
c a d y x 1
d c z y 0
Result = 2 occurences
None of the formulae I have seen work, I can get "a" 3
times, "x" 3 times, "a" and "x" 6 times, or errors, or
sometimes nearly right when I don't use wildcards.
Any ideas? Thank you