Splitting a list into columns

darkblade80

New Member
Joined
Nov 26, 2021
Messages
3
Office Version
  1. 2019
Platform
  1. Windows
Hi there!

Hoping someone can help.

So I have a table > column A has the ID, Column B has the Associate Name and column C has the badge type. What I want is to have 2 separate columns that list the names from the 2 separate badge types. How do I do this without using VBA. I'm trying to figure out the formula, but no luck. I am using Excel 2019. I've been told it can't be done without VBA but there must be right?



1637981613595.png
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Is this what your want? Note you will need to copy down far enough to make sure the results are not truncated.
Book1
ABCDEFG
1IDnamebadgebluegreen
2234MichaelblueMichaelSeonad
355234SeonadgreenCraigPawel
421342CraigblueKristinaGabriel
54566Pawelgreen  
6345Kristinablue  
7657Gabrielgreen  
Sheet1
Cell Formulas
RangeFormula
F2:F7F2=IF(ROWS($F$2:F2)>COUNTIF($C$2:$C$7,$F$1),"",INDEX($B$2:$B$7,SMALL(IF($C$2:$C$7=$F$1,ROW($C$2:$C$7)-ROW($C$2)+1),ROWS($F$2:F2))))
G2:G7G2=IF(ROWS($F$2:G2)>COUNTIF($C$2:$C$7,$G$1),"",INDEX($B$2:$B$7,SMALL(IF($C$2:$C$7=$G$1,ROW($C$2:$C$7)-ROW($C$2)+1),ROWS($F$2:G2))))
Press CTRL+SHIFT+ENTER to enter array formulas.
 
Upvote 0
Welcome to the MrExcel board!

You could also try this formula in F2 and copy across and down.

21 11 27.xlsm
ABCDEFG
1IDnamebadgebluegreen
2234MichaelblueMichaelSeonad
355234SeonadgreenCraigPawel
421342CraigblueKristinaGabriel
54566Pawelgreen  
6345Kristinablue  
7657Gabrielgreen  
8
Badges
Cell Formulas
RangeFormula
F2:G7F2=IFERROR(INDEX($B:$B,AGGREGATE(15,6,ROW($B$2:$B$7)/($C$2:$C7=F$1),ROWS(F$2:F2))),"")
 
Upvote 0
Solution
Is this what your want? Note you will need to copy down far enough to make sure the results are not truncated.
Book1
ABCDEFG
1IDnamebadgebluegreen
2234MichaelblueMichaelSeonad
355234SeonadgreenCraigPawel
421342CraigblueKristinaGabriel
54566Pawelgreen  
6345Kristinablue  
7657Gabrielgreen  
Sheet1
Cell Formulas
RangeFormula
F2:F7F2=IF(ROWS($F$2:F2)>COUNTIF($C$2:$C$7,$F$1),"",INDEX($B$2:$B$7,SMALL(IF($C$2:$C$7=$F$1,ROW($C$2:$C$7)-ROW($C$2)+1),ROWS($F$2:F2))))
G2:G7G2=IF(ROWS($F$2:G2)>COUNTIF($C$2:$C$7,$G$1),"",INDEX($B$2:$B$7,SMALL(IF($C$2:$C$7=$G$1,ROW($C$2:$C$7)-ROW($C$2)+1),ROWS($F$2:G2))))
Press CTRL+SHIFT+ENTER to enter array formulas.
This is amazing! Thank you so much to both you and Peter_SSs. I really appreicate this. I have a lot more ideas That I would love to discuss and will pot in the forum soon!
 
Upvote 0
Welcome to the MrExcel board!

You could also try this formula in F2 and copy across and down.

21 11 27.xlsm
ABCDEFG
1IDnamebadgebluegreen
2234MichaelblueMichaelSeonad
355234SeonadgreenCraigPawel
421342CraigblueKristinaGabriel
54566Pawelgreen  
6345Kristinablue  
7657Gabrielgreen  
8
Badges
Cell Formulas
RangeFormula
F2:G7F2=IFERROR(INDEX($B:$B,AGGREGATE(15,6,ROW($B$2:$B$7)/($C$2:$C7=F$1),ROWS(F$2:F2))),"")
Thank you for this!!!!! I really appreicate this. I have a lot more ideas That I would love to discuss and will put in the forum soon!
 
Upvote 0
You're welcome. Glad we could help. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,224,747
Messages
6,180,708
Members
452,994
Latest member
Janick

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