the intersection of two matrices

achaus

New Member
Joined
Aug 4, 2016
Messages
3
Hello,

This should be relatively simple but I've not succeeded in finding a way to look at the intersection between two matrices

If I have 1 sheet with individuals for rows, and columns a b c whereby values in a b c are binary (0,1)


and a second sheet with the same individuals with columns d e f with binary values for cells


is there a way to create a matrix a b c * d e f where the cell = the number of intersections? i.e. how many individuals for which a * d = 1 and so on?

Thank you for your help in advance.
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
B8: =SUMPRODUCT(INDEX($B$2:$E$5,,MATCH($A8,$B$1:$E$1,)),INDEX($G$2:$I$5,,MATCH(B$7,$G$1:$I$1,)))


Excel 2010
ABCDEFGHI
1PersonABCDEFG
211011100
320101000
431111111
540111011
6
7OutputEFG
8A211
9B122
10C222
11D222
Sheet1
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top