Counting number of occurrences in column?

前端 未结 6 611
野的像风
野的像风 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:14

    Just adding some extra sorting if needed

    =QUERY(A2:A,"select A, count(A) where A is not null group by A order by count(A) DESC label A 'Name', count(A) 'Count'",-1)
    

提交回复
热议问题