Finding most popular combined sub-groups

jamescurtis29

New Member
Joined
Jan 9, 2019
Messages
3
Hello Excel superior beings, I bow to your wisdom and knowledge.

I know this must be possible but I cannot think of how to do it and have used this forum in the past to find information but cannot think of how to even look for the answer.

I have a list of groups with group ids and members of each group representing subgroups. It looks a little like this:

Group Sub-group
1 a
1
b
1
c
2
a
2
c
2
e
3
b
3
d
4
a
4
b
4
c
4
e
… …

I want to find the most common pairings of subgroups. So in the list above a+b appear in 2 groups, a+c appear in 3 groups, b+c appear in 1 group, etc. But I cannot think of how to achieve it. Any ideas?

Thank you in advance for your help. If your answer is also finding this posted before in a way I've not been able to find, that would also be very welcome!

Kind Regards,

James
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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