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


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()
'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 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.


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

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!
officetab bottom
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.