Index match four columns true false

Copper Contributor

I have four columns that are filled up by SL and JT. I need to do an analysis to calculate the similarity of categories SL and JT have in common. I want to show this similarity in percentage. For example, first row is 0 as none of the values match up. Second is 50% as we have 7's matching. same logic is for third row and for fourth, it is 0. Could you please suggest the formula that can automate the similarity? 

 

Primary Category (SL)Primary Category (JT)Secondary Category (SL)Secondary Category (JT)first and second category analysis
672  
77   
11   
653  
1 Reply

@suchetaitsme 

Not sure I understood the logic correctly, perhaps

image.png