I am trying to count the number of matched pairs by rows of data and place this into a chart. Please see the screen shot example and manual solution.

With the data sets:

1-2-3-4

1-3-4-5

2-3-4-6

3-4-5-6

I want to fill out the chart to find the number of times say 1&2 occur in the same set and 1&3, 1&4, 2&3, 2&4, etc. The formula would be filled into the result matrix.

Thanks for your help!

## Bookmarks