How To Count Duplicates In Excel

To count duplicates in Excel, use the COUNTIF formula, referencing the range of cells containing the data, and the criteria being the specific value that you want to check for duplicates; expectation: the total number of duplicates for that value.

Excel is a powerful tool that millions of people use to organize and analyze data. Whether you’re a business professional, a student, or simply someone who loves working with numbers, chances are you’ve encountered a situation where you needed to identify and count duplicate values in your Excel spreadsheet. Dealing with duplicate data can be quite frustrating, as it can skew your analysis and lead to inaccuracies. Thankfully, Excel provides several methods and functions that can help us efficiently count duplicates and gain valuable insights from our data. In this blog post, we will explore some useful techniques to count duplicates in Excel, allowing you to streamline your data analysis and make more informed decisions. So, let’s dive in and learn how to effectively handle duplicates in Excel!

How To Count Duplicates In Excel: Step-by-Step


Step 1: Open the Excel Spreadsheet

To access the Excel file, find its saved location on your device and simply double-click to open it for viewing and editing.

Next Step

Step 2: Select your Data Range

Click and drag your cursor to highlight the desired range of cells in your Excel spreadsheet, and our software will effortlessly count the number of duplicate values within that selection for you.

Next Step

Step 3: Open the ‘Conditional Formatting’ Menu

In the Home tab, locate the ‘Styles’ group and then select ‘Conditional Formatting’ to access the feature for applying formatting rules based on specific conditions.

Next Step

Step 4: Click ‘Highlight Cells Rules’

From the dropdown menu of ‘Conditional Formatting’, select the ‘Highlight Cells Rules’ option to apply formatting that highlights specific cells based on given criteria.

Next Step

Step 5: Choose ‘Duplicate Values’

From the expanded menu, click on ‘Highlight Cells Rules’ and select ‘Duplicate Values’. This option identifies and highlights any duplicate values within the selected range.

Next Step

Step 6: Apply Formatting

In the dialog box, choose the desired formatting style for the duplicated cells and confirm by clicking ‘OK’. The chosen format won’t impact the final outcome, so feel free to select any style you prefer.


In conclusion, counting duplicates in Excel doesn’t have to be a daunting task. With the right knowledge and tools, you can easily identify and handle duplicate values in your data sets. The various methods discussed in this blog post, such as using formulas, conditional formatting, and sorting, offer different approaches to suit your specific needs.

The COUNTIF function provides a straightforward solution for counting duplicates based on a single criterion. Utilizing conditional formatting helps visualize duplicate values and highlight them for easy identification. Sorting the data allows you to group duplicate values together, making them more manageable.

Remember to consider case sensitivity and different data types when dealing with duplicates. Excel’s built-in functions, like EXACT and LOWER, can be valuable in such scenarios.

By applying these techniques, you can efficiently manage and clean up your data, improving accuracy and reliability. This newfound skill will undoubtedly enhance your data analysis capabilities and make data-driven decision-making easier.

So, dive into your Excel spreadsheets armed with these strategies, and say goodbye to duplicate values once and for all. With a little practice, you’ll become proficient in counting duplicates, saving valuable time and effort in the process.

Table of Contents