Home> Topics> excel> body text

How to delete duplicate data in excel so that only one remains

藏色散人
Release: 2020-09-14 16:16:08
Original
93604 people have browsed it

How to delete duplicate data in Excel so that only one remains: first select the cell where the duplicate data is located; then click the [Data] tab at the top; finally click [Delete Duplicates] in the [Data Tools] group option.

How to delete duplicate data in excel so that only one remains

Recommended: "Excel Tutorial"

Click any cell in the data range where you want to delete duplicate values grid, and then click "Remove Duplicates" in the "Data Tools" group under the "Data" tab, the "Remove Duplicates" dialog box will pop up. As shown in the figure below:

How to delete duplicate data in excel so that only one remains

In the pop-up "Delete Duplicates" dialog box, you can select which column of duplicate values you want to delete. If the column you want to delete duplicate values exceeds If it is 1, it means that the data in these columns are repeated at the same time. At this time, click "OK" and a prompt box indicating that the deletion is completed will pop up, as shown in the following figure:

How to delete duplicate data in excel so that only one remains

In addition to using "Delete Duplicates", you can also use the "Data" tab "Advanced" command in the "Sort and Filter" group under Copy to other location", then check "Select unique records" and click "OK", you can filter out "unique values", as shown in the figure below

How to delete duplicate data in excel so that only one remains

The above are two methods of deleting duplicate values. The following introduces the method of extracting unique values using formulas. Suppose you want to extract the unique value of the salesperson in column B, you can enter the array formula

=INDEX($B:$B,SMALL(IF(MATCH($B$2:$B$75,$B $2:$B$75,0)=ROW($B$1:$B$74),ROW($B$1:$B$74) 1,65536),ROW(A1)))&""then drag down, as follows As shown in the figure:How to delete duplicate data in excel so that only one remains

If you want to identify duplicate values, you can pass "Home"→"Style"→"Conditional Formatting"→"Highlight Cell Rules"→" Duplicate values" are identified. As shown in the picture below:

How to delete duplicate data in excel so that only one remains

#This will delete it.

How to delete duplicate data in excel so that only one remains

The above is the detailed content of How to delete duplicate data in excel so that only one remains. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!