Count different types of cell entries linked to unique ID

Tupelo1984

New Member
Joined
Jan 26, 2021
Messages
22
Office Version
  1. 365
Platform
  1. Windows
Dear,

I wish to count the different amount of type of groups that I have linked to my unique ID.
Example: ID 123 (first column) has 4 rows with a group type (second column). In these 4 rows linked to that unique ID we have 3 different types of groups: Group A, Group B, Group C.
In the 3rd column I wish to see that count displayed in all rows of that unique ID so I can pivot the data. In this example Unique ID 123 has 3 group types. Hope someone can help! Thanks
Unique IDGroupdesired result Group Types countGroup valuedesired result group value types count
123Group A3 Group typesBells3 group values types
123Group A3 Group typesHorns3 group values types
123Group B3 Group typesStrings3 group values types
123Group C3 Group typesStrings3 group values types
456Group A1 Group typesBells2 group values types
456Group A1 Group typesBells2 group values types
456Group A1 Group typesHorns2 group values types
789Group A2 Group typesHorns3 group values types
789Group B2 Group typesStrings3 group values types
789Group B2 Group typesCymbals3 group values types
 

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
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,250
Messages
6,123,887
Members
449,131
Latest member
leobueno

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