Counting duplicates in Excel

前端 未结 9 841
有刺的猬
有刺的猬 2020-12-08 07:30

I have a list of postcodes that includes duplicates. I would like to find out how many instances of each postcode there are.

For example I would like this:

9条回答
  •  盖世英雄少女心
    2020-12-08 08:07

    If you perhaps also want to eliminate all of the duplicates and keep only a single one of each

    Change the formula =COUNTIF(A:A,A2) to =COUNIF($A$2:A2,A2) and drag the formula down. Then autofilter for anything greater than 1 and you can delete them.

提交回复
热议问题