Hi, new user here who's not bad at Excel, but doesn't have a lot of experience with arrays. My problem:
Given a list of groups (in this example types of fruit) and membership in each group (names), I'd like to generate a rows where each person's group memberships are listed.
[TABLE="width: 384"]
<tbody>[TR]
[TD="class: xl66, width: 64"][/TD]
[TD="width: 64"]A[/TD]
[TD="width: 64"]B[/TD]
[TD="width: 64"]C[/TD]
[TD="width: 64"]D[/TD]
[TD="width: 64"]E[/TD]
[/TR]
[TR]
[TD="class: xl66"]1[/TD]
[TD="class: xl67"]
[/TD]
[TD="class: xl68"]Name1[/TD]
[TD="class: xl68"]Name2[/TD]
[TD="class: xl68"]Name3[/TD]
[TD="class: xl68"]Name4[/TD]
[/TR]
[TR]
[TD="class: xl66"]2[/TD]
[TD="class: xl68"]Apple
[/TD]
[TD="class: xl67"]Paul[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]3[/TD]
[TD="class: xl68"]Banana[/TD]
[TD="class: xl67"]Greg[/TD]
[TD="class: xl67"]George[/TD]
[TD="class: xl67"]Jeff[/TD]
[TD="class: xl67"]Ed[/TD]
[/TR]
[TR]
[TD="class: xl66"]4[/TD]
[TD="class: xl68"]Orange[/TD]
[TD="class: xl67"]Ron[/TD]
[TD="class: xl67"]Paul[/TD]
[TD="class: xl67"]Greg[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]5[/TD]
[TD="class: xl68"]Grape[/TD]
[TD="class: xl67"]Chris[/TD]
[TD="class: xl67"]Ed[/TD]
[TD="class: xl67"]Paul[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl66"]7[/TD]
[TD]Output:[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl66"]8[/TD]
[TD="class: xl69"]Chris
[/TD]
[TD="class: xl67"]Grape[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]9[/TD]
[TD="class: xl69"]Ed[/TD]
[TD="class: xl67"]Banana[/TD]
[TD="class: xl67"]Grape[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]10[/TD]
[TD="class: xl69"]George[/TD]
[TD="class: xl67"]Banana[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]11[/TD]
[TD="class: xl69"]Greg[/TD]
[TD="class: xl67"]Banana[/TD]
[TD="class: xl67"]Orange[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]12[/TD]
[TD="class: xl69"]Paul[/TD]
[TD="class: xl67"]Apple[/TD]
[TD="class: xl67"]Orange[/TD]
[TD="class: xl67"]Grape[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]13[/TD]
[TD="class: xl69"]Ron[/TD]
[TD="class: xl67"]Orange[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]14[/TD]
[TD="class: xl69"]Jeff[/TD]
[TD="class: xl67"]Banana[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
</tbody>[/TABLE]
I've tried variations of array, INDEX, MATCH and SMALL, but have had no luck. I'm starting to wonder if this is even possible with Excel.
Frustrated fruit vendor,
Steve
Given a list of groups (in this example types of fruit) and membership in each group (names), I'd like to generate a rows where each person's group memberships are listed.
[TABLE="width: 384"]
<tbody>[TR]
[TD="class: xl66, width: 64"][/TD]
[TD="width: 64"]A[/TD]
[TD="width: 64"]B[/TD]
[TD="width: 64"]C[/TD]
[TD="width: 64"]D[/TD]
[TD="width: 64"]E[/TD]
[/TR]
[TR]
[TD="class: xl66"]1[/TD]
[TD="class: xl67"]
[/TD]
[TD="class: xl68"]Name1[/TD]
[TD="class: xl68"]Name2[/TD]
[TD="class: xl68"]Name3[/TD]
[TD="class: xl68"]Name4[/TD]
[/TR]
[TR]
[TD="class: xl66"]2[/TD]
[TD="class: xl68"]Apple
[/TD]
[TD="class: xl67"]Paul[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]3[/TD]
[TD="class: xl68"]Banana[/TD]
[TD="class: xl67"]Greg[/TD]
[TD="class: xl67"]George[/TD]
[TD="class: xl67"]Jeff[/TD]
[TD="class: xl67"]Ed[/TD]
[/TR]
[TR]
[TD="class: xl66"]4[/TD]
[TD="class: xl68"]Orange[/TD]
[TD="class: xl67"]Ron[/TD]
[TD="class: xl67"]Paul[/TD]
[TD="class: xl67"]Greg[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]5[/TD]
[TD="class: xl68"]Grape[/TD]
[TD="class: xl67"]Chris[/TD]
[TD="class: xl67"]Ed[/TD]
[TD="class: xl67"]Paul[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]6[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl66"]7[/TD]
[TD]Output:[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD="class: xl66"]8[/TD]
[TD="class: xl69"]Chris
[/TD]
[TD="class: xl67"]Grape[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]9[/TD]
[TD="class: xl69"]Ed[/TD]
[TD="class: xl67"]Banana[/TD]
[TD="class: xl67"]Grape[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]10[/TD]
[TD="class: xl69"]George[/TD]
[TD="class: xl67"]Banana[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]11[/TD]
[TD="class: xl69"]Greg[/TD]
[TD="class: xl67"]Banana[/TD]
[TD="class: xl67"]Orange[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]12[/TD]
[TD="class: xl69"]Paul[/TD]
[TD="class: xl67"]Apple[/TD]
[TD="class: xl67"]Orange[/TD]
[TD="class: xl67"]Grape[/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]13[/TD]
[TD="class: xl69"]Ron[/TD]
[TD="class: xl67"]Orange[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
[TR]
[TD="class: xl66"]14[/TD]
[TD="class: xl69"]Jeff[/TD]
[TD="class: xl67"]Banana[/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[TD="class: xl67"][/TD]
[/TR]
</tbody>[/TABLE]
I've tried variations of array, INDEX, MATCH and SMALL, but have had no luck. I'm starting to wonder if this is even possible with Excel.
Frustrated fruit vendor,
Steve