Unique name list

Salamullah

Board Regular
Joined
Mar 28, 2011
Messages
221
Hi

I know pivot table can bring the result but I need formula to bring unique name list in column B from list of Names in column A, please share any formula

Column A

John
Ben
John
Ben
Ben
John
Peter
Peter

Column B
John
Ben
Peter
 

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.
How about


Excel 2013/2016
AB
1District
2St AlbansSt Albans
3St AlbansWelwyn Hatfield
4St AlbansDacorum
5St AlbansSomercotes
6St Albans
7Welwyn Hatfield
8Welwyn Hatfield
9Welwyn Hatfield
10Welwyn Hatfield
11St Albans
12St Albans
13St Albans
14St Albans
15Dacorum
16St Albans
17St Albans
18St Albans
19St Albans
20Somercotes
TB1
Cell Formulas
RangeFormula
B2=IFERROR(INDEX(A$2:A$20,MATCH(0,INDEX(COUNTIF(B$1:B1,A$2:A$20),0),0)),"")
 
Upvote 0
Does your data start in A2 & did you put the formula in B2?
 
Upvote 0
What is the first cell that contains the formula?
 
Upvote 0
In that case it needs to be
=IFERROR(INDEX(Q$11000:Q$14000,MATCH(0,INDEX(COUNTIF(BG$2:BG2,Q$11000:Q$14000),0),0)),"")
 
Upvote 0
You're welcome & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,180
Members
453,021
Latest member
Justyna P

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