Skip to main content

How to extract all duplicates from a column in Excel?

If you have a column of product list, and some of them are duplicates, now you need to extract only duplicates from this list to other column, how can you solve? In general, you may find them one by one then type them manually. Now I will tell you some quick methods to extract duplicates from one column in Excel.

Extract duplicates from one column with formulas

Extract duplicates from one column with Kutools for Excel good idea3


Here I introduce two formulas for you to extract duplicates.

Select a cell and type this formula =INDEX(A2:A11, MATCH(0, COUNTIF(C1:$C$1, A2:A11)+IF(COUNTIF(A2:A11, A2:A11)>1, 0, 1), 0)) into it, then press Shift + Ctrl + Enter keys. Then drag the fill handle down until #N/A appears.

doc-extract-duplicates-1

Or you can use this formula =IFERROR(INDEX(A2:A11, MATCH(0, COUNTIF(C1:$C$1, A2:A11)+IF(COUNTIF(A2:A11, A2:A11)>1, 0, 1), 0)), ""), press Shift + Ctrl + Enter keys. Then drag the fill handle down until blank cell appears.

doc-extract-duplicates-2

Note: In the above A2:A11 is the column range you want to extract duplicates from, and C1 is the first cell of the column where your formula is typed in.


Formulas may be difficult to remember to use, but if you have Kutools for Excel’s Select Duplicate & Unique Cells, you can quickly select the duplicate cells and then copy and paste them to another column.

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

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

1. Select the column list exclude the header if you have the header, click Kutools > Select > Select Duplicate & Unique Cells. See screenshot:

doc extract duplicates 10

2. In Select Duplicate & Unique Cells dialog, check Duplicates (Except 1st one) or All duplicates (Including 1st one) as you need. Then click OK, a dialog pops out to tell you how many rows are selected. See screenshot:

doc extract duplicates 9doc-extract-duplicates-5

3. Click OK. Press Ctrl + C to copy the duplicate values and select a cell and press Ctrl + V to paste them.

doc-extract-duplicates-6doc-extract-duplicates-7

Tip: If you need, you can apply Data > Remove Duplicates function to remove the duplicates in the Duplicates column.

For more about Select Duplicate & Unique Cells.


Compare two ranges and select and highlight the same or different values in Excel

In Excel, if there are two tables in a sheet or two sheets needed to be compared, generally, you will compare one row by one manually. But if you have Kutools for Excel's Select Same & Different Cells utility, you can quickly find the same rows or different rows, and, also, you can highlight them with background color or font color as you need. Free trial for full-featured 30-days!
doc select same difference
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

Best Office Productivity Tools

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...

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!
Comments (1)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
whole of the formula didn't work and can't be applied....
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations