szita2000
Board Regular
- Joined
- Apr 25, 2012
- Messages
- 101
- Office Version
- 365
- Platform
- Windows
Hi Guys.
I am trying to find a solution to this.
I have a list of winners and categories they won in.
<tbody>
[TD="align: center"]20[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]22[/TD]
[TD="align: center"]23[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]25[/TD]
</tbody>
I need to pull them together where each category have one cell and the winners are displayed with a separator. Like a result of a SUMIF only to "Bring me out if..."
<tbody>
[TD="align: center"]24[/TD]
[TD="align: center"]25[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]27[/TD]
</tbody>
1. Is there any way to do this with formula, or I will need to do it with VBA?
I am aware of the new TEXTJOIN formula, but I can't figure out, how would I get out the first, second and nth occurence.
2.How would you do it in VBA?
My best guess is to loop through each category and if it matches the list, bring out the name. with an offset + a separator
Thanks
Thomas
I am trying to find a solution to this.
I have a list of winners and categories they won in.
K | L | |
---|---|---|
Jimmy John | Singing | |
Billy Bob | Dancing | |
Sue Partridge | Singing | |
Jones Smith | Guitar | |
Blake Boris | Drum | |
John Wellington | Guitar |
<tbody>
[TD="align: center"]20[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]22[/TD]
[TD="align: center"]23[/TD]
[TD="align: center"]24[/TD]
[TD="align: center"]25[/TD]
</tbody>
I need to pull them together where each category have one cell and the winners are displayed with a separator. Like a result of a SUMIF only to "Bring me out if..."
A | B | |
---|---|---|
Singing | Jimmy John, Sue Partridge | |
Dancing | Billy Bob | |
Guitar | Jones Smith, John Wellington | |
Drum | Blake Boris |
<tbody>
[TD="align: center"]24[/TD]
[TD="align: center"]25[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]27[/TD]
</tbody>
1. Is there any way to do this with formula, or I will need to do it with VBA?
I am aware of the new TEXTJOIN formula, but I can't figure out, how would I get out the first, second and nth occurence.
2.How would you do it in VBA?
My best guess is to loop through each category and if it matches the list, bring out the name. with an offset + a separator
Thanks
Thomas