Reverse Remove Duplicates In Excel

Posted on  by 

The Remove Duplicates Feature. Excel has a built-in feature called Remove Duplicates that does. Excel will only remove exact duplicates. In this example, the second Square is misspelled as Squarre, so after duplicates are removed, both spellings of Square remain. Undo Function Does not Completely Undo Remove Duplicates - Mixes Data I frequently use the remove duplicate function to do a quick count of unique numbers, and to make sure all expected numbers are present. I then undo the remove duplicates to put the data back where was. Hello all, I was wondering if anyone knew of a way to do the reverse of the Delete Duplicate Function in Excel on the Data Tab. Where the function allows you to select column headers to check for, then finds the records that are duplicates and deletes only the duplicate. I would like a macro.

How to remove all duplicates but keep only one in Excel?

This tutorial introduces the tricks to remove all duplicate values from a list but keep only one in Excel, read the details:

Remove all duplicates but keep only one with Kutools for Excel

Combine all duplicate rows and keep data with Kutools for Excel

Reverse Remove Duplicates In Excel

In Excel, the Remove Duplicate feature can help you remove all but keep one duplicate value.

1. Select the data list you need, and click Data > Remove Duplicates. See screenshot:

2. Then in Remove Duplicates dialog, check the column name that you want to remove duplicates from, and if your data has header, check My data has headers option, too. See screenshot:

3. Click OK. And a dialog pops out to tell you how many duplicates have been removed, just close it. And now all duplicates have been remove but keep only one in the list.

If you are interested in VBA, here I also can introduce a VBA code to solve this task.

1. Press Alt +F11 keys simultaneously to open Microsoft Visual Basic for Applications window.

Remove Duplicates From Excel List

2. Click Insert > Module, and paste below VBA to the new Module window.

VBA: Remove all duplicates but keep one.

3. Press F5 key or click Run to execute the VBA, and the duplicates in list in column A have been removed but keep one.

Tip: In the above VBA, A indicates the column A, and A1: A indicates the list range, you can change them as you need.

There is a powerful utility in Kutools for Excel named Select Duplicate & Unique Cells can quickly select or highlight all duplicates except first one, and then you can remove them.

with more than 300 handy functions, makes your jobs more easier.

After free installing Kutools for Excel, please do as below:

1. Select the data range and click Kutools > Select > Select Duplicate & Unique Cells. See screenshot:

2. In the displayed dialog, check Duplicates (Except 1st one) option, and click Ok. See screenshot:

3. Then a dialog pops out to remind you the number of selected cells. And just click OK to close it. See screenshot:

4. And all the duplicates but first one are selected, press Delete key to clear them.

Tip: You also can remove all duplicates but keep one with Select Duplicate & Unique Cells like this:

Select all the unique values including the first duplicates, and then copy them by pressing Ctrl + C and paste to another location by Ctrl + V.


Kutools for Excel: 300 + functions you must have in Excel, 30-day free trial from here

If you have some data, and what you want is to combine the duplicate rows then keep the corresponding data as below screenshot shown, you can use Kutools for Excel’s Advanced Combine Rows function.

Reverse Remove Duplicates In Excel

After free installing Kutools for Excel, please do as below:

1. Select the data and click Kutools > Merge & Split > Advanced Combine Rows. See screenshot:

2. In the Combine Rows Based on Column dialog, select the column you want to remove duplicate from and click Primary Key to make it as the primary key column. See screenshot:

3. Then select the column you just want to keep the data and then click Combine, and select one delimiter form the list. See screenshot:

4. Click Ok, and the duplicate rows are combine and keep the corresponding data.


Kutools for Excel: 300 + functions you must have in Excel, 30-day free trial from here

Relative Articles:

  • How to generate random number without duplicates in Excel?

Reverse Remove Duplicates In Excel Shortcut

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.

Reverse Remove Duplicates In Excel

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!
or post as a guest, but your post won't be published automatically.

Microsoft Excel Remove Duplicates

Loading comment... The comment will be refreshed after 00:00.

Coments are closed