I have a table like this:
And I would like to create a symmetric matrix to count the number of times a Code is present in each class:
In this example only the code 001 is present 1 time at the same time in the Class A and B.
May I kindly ask you what is the fastest way to create this matrix?
Thanks in advance