Unique cells in column

jakobt

Active Member
Joined
May 31, 2010
Messages
337
I have a column with a lot of data.

I select the column/range.

How can I generate a list starting in cell c1 with all unique items from the column.

(Preferably in alphabet order)
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
It is not a bad surgestion...however I would prefer a piece of VBA code:)
for the learning experience also..
 
Upvote 0
Hi,

With your data located in range A2.A8 ...

you could have in cell B2 the following Array Formula:

Code:
=IFERROR(INDEX($A$2:$A$8,MATCH(0,COUNTIF($A$2:$A$8,"<"&$A$2:$A$8)-SUM(COUNTIF($A$2:$A$8,B$1:B1)),0)),"")

Hope this will help
 
Upvote 0

Forum statistics

Threads
1,215,365
Messages
6,124,513
Members
449,168
Latest member
CheerfulWalker

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