Can you have a nested TEXTJOIN formula?

pre0rm

New Member
Joined
Mar 25, 2019
Messages
2
I'm looking to return a single cell of values that show results matched against one column which are then used to collect their own results. Much easier to explain with a display...

[TABLE="class: grid, width: 500, align: left"]
<tbody>[TR]
[TD]Clothing[/TD]
[TD]Colour[/TD]
[TD]Place[/TD]
[/TR]
[TR]
[TD]Hat
[/TD]
[TD]Red[/TD]
[TD]Head[/TD]
[/TR]
[TR]
[TD]Hat[/TD]
[TD]Yellow[/TD]
[TD]Head[/TD]
[/TR]
[TR]
[TD]Glove[/TD]
[TD]Red[/TD]
[TD]Hands[/TD]
[/TR]
[TR]
[TD]Scarf[/TD]
[TD]Blue[/TD]
[TD]Head[/TD]
[/TR]
[TR]
[TD]Glove[/TD]
[TD]Green[/TD]
[TD]Head[/TD]
[/TR]
[TR]
[TD]Hat[/TD]
[TD]Red[/TD]
[TD]Neck[/TD]
[/TR]
[TR]
[TD]Glove[/TD]
[TD]Red[/TD]
[TD]Head[/TD]
[/TR]
[TR]
[TD]Scarf[/TD]
[TD]Yellow[/TD]
[TD]Hands[/TD]
[/TR]
</tbody>[/TABLE]














I would like to display each variation of colour and place for an item of clothing combined with the following syntax in a single cell

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Clothing[/TD]
[TD]Combined[/TD]
[/TR]
[TR]
[TD]Hat[/TD]
[TD]Red[Head,Neck],Yellow[Head][/TD]
[/TR]
[TR]
[TD]Glove[/TD]
[TD]Red[Hands,Head],Green[Head][/TD]
[/TR]
[TR]
[TD]Scarf[/TD]
[TD]Blue[Head],Yellow[Hands][/TD]
[/TR]
</tbody>[/TABLE]

Is this possible without VBA? I thought I might be able to do some sort of nested array formula using TEXTJOIN but I'm completely stuck now?

Any help massively appreciated!
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,223,893
Messages
6,175,241
Members
452,622
Latest member
Laura_PinksBTHFT

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