How to create a unique alphabetically sorted list from a column in Excel?
In some cases, you need to extract all unique cells from a list, and locate these cells in a new column in alphabetical order. In this article, we will show two methods to achieve it.
You can use array formula to create an alphabetically unique list from a column. Please do as follows.
1. Select a blank cell, enter array formula =INDEX($A$2:$A$12,MATCH(0,COUNTIF($A$2:$A$12,"<"&$A$2:$A$12)-SUM(COUNTIF($A$2:$A$12,"="&B$1:B1)),0)) into the Formula Bar, and then press Ctrl + Shift + Enter keys simultaneously.
Note: A2:A12 is the original data that you want to extract unique and sort alphabetically, B1 is a helper cell in the column that you want to put the result, and you should put the formula below this cell. You can change the cell references as you need.
Keep selecting the cell, drag its Fill Handle down the column until all unique values are listed out. And you can see all extracted values are sorted alphabetically. See screenshot:
After free installing Kutools for Excel , you can try the Select Duplicate & Unique Cells utility of Kutools for Excel. Please do as follows.
1. Select the list you want to extract all unique values, and then click Kutools > Select > Select Duplicate & Unique Cells. See screenshot:
2. In the Select Duplicate & Unique Cells dialog box, select the All Unique (Including 1st duplicates) option, and then click the OK button. Then a dialog box pops up to tell you how many cells are selected, please click the OK button.
3. Copy the selected unique cells by pressing Ctrl + C keys simultaneously, and then paste them to a new column. See screenshot:
4. Keep selecting this list, and you can manually sort this new list in alphabetical order by clicking Sort A to Z under Data tab.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 10 months agoPour la version française : =INDEX($B$15:$B$53;EQUIV(0;NB.SI($B$15:$B$53;"<"&$B$15:$B$53)-SOMME(NB.SI($B$15:$B$53;"="&P$1:P14));0))
- To post as a guest, your comment is unpublished.· 2 years agoI tried formula for unique values (unsorted). Worked great with fixed ranges as well as dynamic ranges (named ranges). This (sorted) formula works with fixed ranges but returns #N/A if applied with named ranges. Can you please help me work this with named ranges?
- To post as a guest, your comment is unpublished.· 2 years agoThank You!!