Single List Of Names

JLouis

Active Member
Joined
Jan 1, 2004
Messages
295
Office Version
  1. 365
Platform
  1. Windows
So here we have two columns of names. Some are unique, some are duplicating. I am trying to find a formula that will extract each name only once and list them in column C.

Book1
ABC
1LIST ALIST BLIST OF SINGLE NAMES
2BOBLINDABOB
3LINDA TOMLINDA
4CAROLBOBCAROL
5LINDA CAROLBRUCE
6BRUCEJERRYCINDY
7BOBFREDTOM
8CINDY JERRY
9TOMFRED
10JERRY
11
Sheet1


I've tried a few different formulas from here and the web, but they are mostly looking for unique names and don't include the names that occur more than once. Any assistance is appreciated.
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Book1
ABC
1LIST ALIST BLIST OF SINGLE NAMES
2BOBLINDABOB
3LINDA TOMLINDA
4CAROLBOBCAROL
5LINDA CAROLBRUCE
6BRUCEJERRYCINDY
7BOBFREDTOM
8CINDY JERRY
9TOMFRED
10JERRY
11
Sheet1
Cell Formulas
RangeFormula
C2:C10C2=UNIQUE(TOCOL(TRIM(A2:B10),3,TRUE))
Dynamic array formulas.
 
Upvote 0
@kevin9999
I can see why you have TRIMmed the values, but that does end up leaving a blank cell at the bottom of the spilled range which may be an issue if the OP subsequently uses that spilled range for something else. I think changing the order slightly solves that issue.

23 01 06.xlsm
ABC
1LIST ALIST BLIST OF SINGLE NAMES
2BOBLINDABOB
3LINDA TOMLINDA
4CAROLBOBCAROL
5LINDA CAROLBRUCE
6BRUCEJERRYCINDY
7BOBFREDTOM
8CINDY JERRY
9TOMFRED
10JERRY
11
Unique List
Cell Formulas
RangeFormula
C2:C9C2=UNIQUE(TRIM(TOCOL(A2:B10,3,1)))
Dynamic array formulas.
 
Upvote 0
Solution
Incredible Kevin & Peter. Always learning on this site. Never even heard of TOCOL.

Thank you so much.
 
Upvote 0
You're welcome. Glad we could help. Thanks for the follow-up. :)
(TOCOL is pretty new)
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,901
Members
449,097
Latest member
dbomb1414

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