Listing names in one column

jlokesh16

New Member
Joined
Jan 22, 2015
Messages
39
I have an column B, in which there are names of various people (Only the first Name). I want to have the names displayed only once in Col A.
EG: In column B i have names like John, George, Jim, John, Pam, Jim. So the Column A should display names John, George, Jim, Pam.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Book1
AB
14
2JohnJohn
3GeorgeGeorge
4JimJim
5PamJohn
6Pam
7Jim
Sheet1


In A1 control+shift+enter, not just enter:

=SUM(IF(FREQUENCY(IF($B$2:$B$7<>"",MATCH($B$2:$B$7,$B$2:$B$7,0)),ROW($B$2:$B$7)-ROW($B$2)+1),1))

In A2 control=shift+enter, not just enter, and copy down:

=IF(ROWS($A$2:A2)>$A$1,"",INDEX($B$2:$B$7,SMALL(IF(FREQUENCY(IF($B$2:$B$7<>"",MATCH($B$2:$B$7,$B$2:$B$7,0)),ROW($B$2:$B$7)-ROW($B$2)+1),ROW($B$2:$B$7)-ROW($B$2)+1),ROWS($A$2:A2))))
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,215
Members
448,554
Latest member
Gleisner2

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