Counting duplicates in Excel

前端 未结 9 720
有刺的猬
有刺的猬 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.

    0 讨论(0)
  • 2020-12-08 08:08

    Let excel do the work.

    1. Select column
    2. Select Data tab
    3. Select Subtotal, then "count"
    4. DONE

    Adds it up for you and puts total

    Trinidad Count  99
        Trinidad Colorado
        Trinidad Colorado
        Trinidad Colorado
        Trinidad Colorado
        Trinidad Colorado
        Trinidad Colorado
    Trinidad Colorado Count 6
        Trinidad.
        Trinidad.
    Trinidad. Count 2
        winnemucca
        Winnemucca
        Winnemucca
        Winnemucca
        Winnemucca
        winnemucca
        Winnemucca
        Winnemucca
        Winnemucca
        winnemucca
        Winnemucca
        Winnemucca
        Winnemucca
        Winnemucca
    winnemucca Count    14
    
    0 讨论(0)
  • 2020-12-08 08:16
    1. Highlight the column with the name
    2. Data > Pivot Table and Pivot Chart
    3. Next, Next layout
    4. drag the column title to the row section
    5. drag it again to the data section
    6. Ok > Finish
    0 讨论(0)
提交回复
热议问题