Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to quickly create unique list (remove duplicates) from a given column in Excel?

Suppose you have a list of names with duplicates, and now you want to create a new list of unique names from this given column, how could you solve it in Excel? Now this tutorial introduces some tricks that can help you quickly create a unique list from a give column.

Create unique list from column with Advanced Filter

Create unique list from column with VBA

Quickly create unique list from column with Kutools for Excel good idea3


Compare Ranges utility (can compare two ranges, and select and color the same values or different values.)

doc compare range

arrow blue right bubble Create unique list from column with Advanced Filter


In Excel, you can apply the Advanced Filter function to filter out the unique data from a list.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

1. Click Data > Advanced. See screenshot:

doc create unique list 1

2. In the Advanced Filter dialog, do as below:

(1) Check Copy to another location option and Unique records only option;

(2) Select the duplicates column to List range text box, and select a cell to put the unique list to Copy to text box.

doc create unique list 2

3. Click OK. Now the unique list has been created. See screenshot:

doc create unique list 3


arrow blue right bubble Create unique list from column with VBA

In Excel, you also can use VBA code to create a unique list from a given column.

1. Press Alt + F11 to show Microsoft Visual Basic for Applications window, and click Insert > Module, then copy and paste below VBA to the new Module window.

VBA: Create unique list from given column.

Sub CreateUniqueList()
'Updateby20150519
Dim Rng As Range
Dim InputRng As Range, OutRng As Range
xTitleId = "KutoolsforExcel"
Set InputRng = Application.Selection
Set InputRng = Application.InputBox("Range :", xTitleId, InputRng.Address, Type:=8)
Set OutRng = Application.InputBox("Out put to (single cell):", xTitleId, Type:=8)
Set OutRng = OutRng.Range("A1")
InputRng.AdvancedFilter Action:=xlFilterCopy, CopyToRange:=OutRng, Unique:=True
End Sub

2. Press F5 key or Run button to enable the VBA code, and in the popping dialog, select the list with duplicates and click OK, then select a cell to put the result. See screenshots:

doc create unique list 4
doc create unique list 5

3. Now, a list with unique names has been created.


arrow blue right bubble Quickly create unique list from column with Kutools for Excel

Actually, with Select Duplicate & Unique Cells feature of Kutools for Excel, you also can quickly create a unique list from a given column.

Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.

After free installing Kutools for Excel, you can use Select Duplicate & Unique Cells.

1. Select the list (It’s optional to select the column header) you want to create unique list based on, and click Kutools > Select > Select Duplicate & Unique Cells. See screenshot:

doc create unique 4

2. In the popping dialog, check All unique (Including 1st duplicates) option under Rule section. See screenshot:

doc create unique 5

3. Click Ok, and then a dialog pops out to remind you the number of selected cells. See screenshot:

doc create unique 2

4. Click OK, then press Ctrl + C to copy the selected cells and select a cell and press Ctrl + V keys to put the result.

doc create unique 3

Tip: If you want to select values in case sensitive, you can check Case sensitive option in the Select Duplicate & Unique Cells dialog.

 

With Select Duplicate & Unique Cells feature, you can only select duplicates including first one, select only duplicates except first one, and select all unique values except first one. Get it now and easy your Excel work.

pay attention1If you are interested in this addi-in, click here to download the 60-days free trial.


Recommended Productivity Tools for Excel

Kutools for Excel Helps You Always Finish Work Ahead of Time, and Stand Out From Crowd

  • More than 300 powerful advanced features, designed for 1500 work scenarios, increasing productivity by 70%, give you more time to take care of family and enjoy life.
  • No longer need memorizing formulas and VBA codes, give your brain a rest from now on.
  • Become an Excel expert in 3 minutes, Complicated and repeated operations can be done in seconds, 
  • Reduce thousands of keyboard & mouse operations every day, say goodbye to occupational diseases now.
  • 110,000 highly effective people and 300+ world-renowned companies' choice.
  • 60-day full features free trial. 60-day money back guarantees. 2 years of free upgrade and support.

Brings Tabbed Browsing and Editing to Microsoft Office, Far More Powerful Than The Browser's Tabs

  • Office Tab is designed for Word, Excel, PowerPoint and Other Office Applications: Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!

 

 

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.