Featured Article

"Quickly Count Duplicates in Excel: A Step-by-Step Guide"

Alan Jun 16, 2026

How to Count Duplicates in Excel: A Step-by-Step Guide

How to Count Duplicate Values in Excel
How to Count Duplicate Values in Excel

In the vast world of data management, it's not uncommon to encounter duplicate entries that can skew your analysis and lead to inaccurate results. Excel, a powerful tool used by millions worldwide, offers several methods to count and remove duplicates. In this guide, we'll explore two efficient ways to tackle this task.

How to count duplicates in a list
How to count duplicates in a list

Method 1: Using the Remove Duplicates Feature

The Remove Duplicates feature in Excel is a quick and easy way to eliminate duplicates from your data. However, it doesn't provide a count of the duplicates found. Here's how to use it:

How to count duplicates in a list
How to count duplicates in a list
  1. Select the data range containing the duplicates.
  2. Go to the Data tab in the ribbon.
  3. Click on Remove Duplicates in the Data Tools group.
  4. In the Remove Duplicates dialog box, ensure the correct columns are selected.
  5. Click OK. Excel will remove the duplicates and display a message showing the number of duplicates found and removed.

Method 2: Counting Duplicates with Formulas

How to identify duplicates in Excel: find, highlight, count, filter
How to identify duplicates in Excel: find, highlight, count, filter

If you need to count the duplicates without removing them, you can use Excel's COUNTIF function. Here's how:

  1. Assume your data is in column A (A2:A100). In cell B2, enter the following formula: =COUNTIF($A$2:$A$100, A2)
  2. Press Enter. The cell will display the number of times the value in A2 appears in the range A2:A100.
  3. Drag the formula down to copy it for the rest of the cells in column B.

Using a PivotTable for Advanced Counting

Count Duplicate Values in Excel
Count Duplicate Values in Excel

For more complex data sets, you can use a PivotTable to count duplicates based on multiple criteria. Here's how:

  1. Select your data and go to the Insert tab in the ribbon.
  2. Click on PivotTable and choose where you want to place it.
  3. In the PivotTable Fields pane, drag the columns you want to count duplicates for into the Rows area.
  4. Drag the same columns into the Values area. By default, Excel will use the COUNT function.
  5. Right-click on any of the column headers in the PivotTable and select Value Field Settings.
  6. In the Summarize value field by list, select Distinct Count.
  7. Click OK. The PivotTable will now display the count of distinct values for each category.

In conclusion, Excel provides several methods to count and remove duplicates, from the simple Remove Duplicates feature to more advanced formulas and PivotTables. Understanding these methods will help you manage your data more efficiently and accurately.

Excel Basics: How To Remove Duplicates In Excel - The Tech Journal
Excel Basics: How To Remove Duplicates In Excel - The Tech Journal
Quickly Count Duplicates in Excel List With Pivot Table
Quickly Count Duplicates in Excel List With Pivot Table
How to Duplicate a Worksheet in Excel
How to Duplicate a Worksheet in Excel
Count Duplicate
Count Duplicate
How to identify duplicates in Excel: find, highlight, count, filter
How to identify duplicates in Excel: find, highlight, count, filter
Distinct Count On Excel
Distinct Count On Excel
How to Remove Duplicates in Excel
How to Remove Duplicates in Excel
How to Find and Remove Duplicates in Excel Quickly | Envato Tuts+
How to Find and Remove Duplicates in Excel Quickly | Envato Tuts+
How to find duplicate values in two columns in Excel using formula
How to find duplicate values in two columns in Excel using formula
how to find duplicate values in excel using formula
how to find duplicate values in excel using formula
Remove Duplicates
Remove Duplicates
Count Duplicate Number Sets in Excel - Contextures Blog
Count Duplicate Number Sets in Excel - Contextures Blog
How to Remove Duplicates in Excel
How to Remove Duplicates in Excel
an excel spreadsheet with the words count duplicate value in excel, and two arrows pointing to each other
an excel spreadsheet with the words count duplicate value in excel, and two arrows pointing to each other
Cut vs Copy in Excel for Beginners
Cut vs Copy in Excel for Beginners
How to count duplicate values in a column in Excel?
How to count duplicate values in a column in Excel?
7 tips to deal with duplicates in MS Excel
7 tips to deal with duplicates in MS Excel
a spreadsheet with the words vlookup duplicate in it and an image of
a spreadsheet with the words vlookup duplicate in it and an image of
the text ms excel tips 7 how to count cells with a specific text
the text ms excel tips 7 how to count cells with a specific text
how to count duplicate and unique values in a column in excel
how to count duplicate and unique values in a column in excel
How to Find and remove duplicates in excel with easy Steps
How to Find and remove duplicates in excel with easy Steps