

As a result, value TRUE is displayed in the cell E3. Our list contains duplicates and SUMPRODUCT formula output is number 2. Since 0 is not greater than 0, the final result will be FALSE. If there are no duplicates in the list SUMPRODUCT output array will have all 0 items and formula output will be 0. Check the duplicates in the list with the SUMPRODUCT and COUNTIF functionsĬOUNTIF function counts the number of the occurrences of each item in the list, resulting in the array: items.įormula part >0 is checking if the SUMPRODUCT result is greater than 0, retrieving TRUE if there are duplicates.

Table structure for the example Check Duplicates in the List with SUMPRODUCT and COUNTIF Functions The idea is to check if there are duplicate values in the “Product ID” column and to return TRUE in the cell E3 if the list contains duplicates.įigure 2. Our table consists of 2 columns: “Product ID” (column B) and “Amount” (column C). Setting up Our Data for Finding Duplicates in the List
