Skip to main content

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

Author: Sun Last Modified: 2020-09-08

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

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.

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()
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 300 handy functions, makes your jobs more easier. 

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.

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, 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!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations