Counting number of occurrences in column?

前端 未结 6 608
野的像风
野的像风 2020-12-04 09:41

What would be a good approach to calculate the number of occurrences in a spreadsheet column? Can this be done with a single array formula?

Example (column

6条回答
  •  臣服心动
    2020-12-04 10:21

    A simpler approach to this

    At the beginning of column B, type

    =UNIQUE(A:A)
    

    Then in column C, use

    =COUNTIF(A:A, B1)
    

    and copy them in all row column C.

    Edit: If that doesn't work for you, try using semicolon instead of comma:

    =COUNTIF(A:A; B1)
    

提交回复
热议问题