Hello everyone,
First I would like to apologize for this obscure title. If you have any suggestion, i'll take it.

I have data that presents itself in two columns. The first column is what I call the "systems", the second one can be the "features".
For each system (S1, S2, S3, ...) there is one or more features associated (F1, F2, F3, ...).

Ex:

System Feature
S1 F1
S1 F2
S1 F3
S2 F1
S2 F4

My colleague wants to display which system has different associations of two features. He thought about the output as a table with n lines and n columns (n being the number of features). Then at each intersection, there would be the list of systems that has this association of features.
For example, with the previous the table the result would be like so :

Capture.PNG

Since S1 and S2 both have F1 in common, they both end up in the F1-F1 cell.
And because only S1 has F2 and F1, it's the only value in F2-F1.

We both got stumped by this problem and couldn't find an easy solution.

Do you see any way we could approach this?

Thanks.