Excel copy column and remove duplicates
Supposing you have a column mixed with duplicate and unique values as below screenshot shown, how to copy only the unique values without duplicates, and paste them to a new range in Excel? This article can help you to solve this problem. Show Copy and paste values skipping duplicates with Advanced Filter Copy and paste values skipping duplicates with Advanced FilterYou can use the Advanced Filter function to copy and paste values skip duplicates in Excel. Please do as follows. 1. Select the column range you need to copy and paste values skipping duplicates, and click Data > Filter. Then click the Advanced button as below screenshot shown. 2. In the Advanced Filter dialog box, select the Copy to another location option in the Action section, select a cell to place the unique values in the Copy to box, check the Unique records only box, and finally click the OK button. See screenshot: Then you can see only unique values are copied and pasted from selected range to specified new range immediately. Copy and paste values skipping duplicates with array formulaYou can also apply the below array formula to extract only the unique values from a specified column range in Excel. 1. Select a blank cell to place the first unique value, enter the below formula intoit and then press the Ctrl + Shift + Enter keys simultaneously. =INDEX($A$2:$A$10, MATCH(0, COUNTIF($C$1:C1, $A$2:$A$10), 0)) Notes: 1). In the array formula, $A$2:$A$10 is the range where you will copy unique values from. 2). $C$1:C1 is the cell above the formula cell. 2. Keep selecting cell C2, then drag its Fill Handle down to get all unique values until errors are displayed. See screenshot: Copy and paste values skipping duplicates with Kutools for ExcelThis section will recommend the Select Duplicate & Unique Cells utility of Kutools for Excel. With this utility, you can easily select all values skipping duplicates in a certain range, and then copy and paste all unique values to anywhere as you need. Please do as follows. Before applying Kutools for Excel, please download and install it firstly. 1. Select the range you need to get only the unique values, then click Kutools > Select > Select Duplicate & Unique Cells. See screenshot: 2. In the Select Duplicate & Unique Cells dialog box, select the All unique (Including 1st duplicates) option in the Rule section, and then click the OK button. Then the second Select Duplicate & Unique Cells dialog box pops up to tell you how many unique cells are selected, please click the OK button. See screenshot: Notes: 1). Besides unique values, you can also select duplicate values with this utility; 2). If you need to highlight all unique or duplicates values in selected range, please check the Fill backcolor or Fill font color box. 3. Now all values skipping duplicates in specified range are selected. Please copy them by pressing Ctrl + C keys, and then paste to a new range with Ctrl + V shortcut. If you want to have a free trial ( 30-day) of this utility, please click to download it, and then go to apply the operation according above steps. Related articles:
The Best Office Productivity ToolsKutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
How do you copy a column in Excel without duplicates?In the Advanced Filter dialog box, select the Copy to another location option in the Action section, select a cell to place the unique values in the Copy to box, check the Unique records only box, and finally click the OK button.
How do you copy and delete duplicates in Excel?Remove duplicate values. Select the range of cells that has duplicate values you want to remove. Tip: Remove any outlines or subtotals from your data before trying to remove duplicates.. Click Data > Remove Duplicates, and then Under Columns, check or uncheck the columns where you want to remove the duplicates. ... . Click OK.. How do I delete duplicates in Excel but keep one copy?How to delete duplicates in Excel but keep one?. Select a cell in your dataset and go to Data > Advanced filter to the far right. ... . Choose to “Filter the list, in-place” or “Copy to another location”. ... . Tick the “Unique records only” box to keep the unique values, and then “OK” to remove all duplicates.. How do you copy a column and paste only the unique records in Excel?Method #3: Advanced Filter. Click the Advanced Filter button on the Data tab of the Ribbon.. Select the “Copy to another location” radio button.. Select the “List range”. The range/column that contains the duplicate values.. Select the “Copy to” range. ... . Click the “Unique records only” checkbox.. Click the OK button.. |