S
Shane
Hello Group!
I hope someone can simplify a counting procedure for me. I
have a data set that looks like this -
A B C
X Y Z
Y Z X
Z B Y
Z X U
Z Y X
I need to count occurances that contain XYZ in ANY order.
That could be ZYX, XYZ, YZX. There are 6 possible
combinations. Currently I use a helper column and perform
a count on each row. Then do a count on the helper column
to get my result. Based on the example, the result would
be 3. I have been trying to come up with a single formula
to do this. The problem is how to account for all of the
possible combinations in a Sumproduct function. Any help
would be greatly appreciated.
Shane
I hope someone can simplify a counting procedure for me. I
have a data set that looks like this -
A B C
X Y Z
Y Z X
Z B Y
Z X U
Z Y X
I need to count occurances that contain XYZ in ANY order.
That could be ZYX, XYZ, YZX. There are 6 possible
combinations. Currently I use a helper column and perform
a count on each row. Then do a count on the helper column
to get my result. Based on the example, the result would
be 3. I have been trying to come up with a single formula
to do this. The problem is how to account for all of the
possible combinations in a Sumproduct function. Any help
would be greatly appreciated.
Shane