If you need to find duplicates in a range of cells rather than in an entire column, remember to lock that range with the $ sign.
Input the above formula in B2, then select B2 and drag the fill handle to copy the formula down to other cells:Īs you can see in the screenshot above, the formula returns TRUE for duplicate values and FALSE for unique values. Here's a formula to find duplicates in Excel including first occurrences (where A2 is the topmost cell): These can be invoices, product Id's, names or any other data. Supposing you have a list of items in column A that you want to check for duplicates.
Excel find duplicates in one column how to#
How to find duplicate records including 1 st occurrences Depending on whether you want to find duplicate values with or without first occurrences, there's going to be a slight variation in the formula as shown in the following examples. The easiest way to detect duplicates in Excel is using the COUNTIF function.
While working with a large Excel worksheet or consolidating several small spreadsheets into a bigger one, you may find lots of duplicate rows in it. You will also learn how to count instances of each duplicate record individually and find the total number of dupes in a column, how to filter out duplicates, and more. You will learn a few formulas to identify duplicate values or find duplicate rows with or without first occurrences. The tutorial explains how to search for duplicates in Excel.