Identify the same group composition

Inacio11

New Member
Joined
Jul 3, 2018
Messages
36
Problem: Compare among the whole list which “Order” has the same composition and add a “Family Group” (letter) to be possible ranking the most often used.
Thanks in advance !
 

Attachments

  • Family_group.PNG
    Family_group.PNG
    55.9 KB · Views: 5

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
There might be better approaches, but my thought would be to create a list of that Part-list Groupings and place a number or letter next to it.

For instance, I would add a column to the right of the Family_group column that would sort and list all the parts for that order. If the Order column were in A and Part List column in E, you could get that Part List like this:
Excel Formula:
=IF($A2<>OFFSET($A2,-1,0),TEXTJOIN(",",TRUE,SORT(FILTER(B2:B7, A2:A7=A2))), OFFSET(E2,-1,0))
That should give you a list of the part numbers separated by a comma.

Then you could create a Part List group by using Unique in some other column. Part-list Grouping formula, adusting "1000" to go to the bottom of that column:
Excel Formula:
=UNIQUE(FILTER(E2:E1000,(E2:E1000<>"")))

Then I'd put a number or letter to the left of that unique list, and then do an INDEX-MATCH in the Family_group column to get that number or letter for the grouping. Does that make sense?
 
Upvote 0
Hello @Vogateer. Thanks for your reply !
I've tried according to your suggestion but I can not reach the solution required.
So, in order to make more clear the request I did some update as follow acc. to image.
Thanks in advance !
 

Attachments

  • Excel_2.PNG
    Excel_2.PNG
    69 KB · Views: 4
Upvote 0
With some adjustment it seems to be working for me. Please let me know whether this is giving the wrong results.
 

Attachments

  • Family_group_problem.PNG
    Family_group_problem.PNG
    39.8 KB · Views: 2
Last edited:
Upvote 0
L2:
Excel Formula:
=UNIQUE(FILTER($F$2:$F$100,($F$2:$F$100<>"")))

K2: 1, then K3 through K100 (for example):
Excel Formula:
=IF(L3<>"",K2+1, "")

Create Column F header for the Parts List, then F2:
Excel Formula:
=IF($B2<>OFFSET($B2,-1,0),TEXTJOIN(",",TRUE,SORT(FILTER($C$2:$C$100,$B$2:$B$100=$B2))),"")

E2 down to E100 (for example):
Excel Formula:
=IF($F2<>"",INDEX($K$2:$K$100, MATCH($F2,$L$2#,0)), "")

H2 through H100 is just equal to K2 through K100.

I2:
Excel Formula:
=IF($H2<>"",COUNTIF($E2:$E100, H2), "")
 
Upvote 0

Forum statistics

Threads
1,216,160
Messages
6,129,215
Members
449,494
Latest member
pmantey13

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