我想知道列中当前值的计数。
+--------------+---------------------+--+------------+------------+
| | | | 1st column | 2nd column |
+--------------+---------------------+--+------------+------------+
| How many 'A' | (there should be 1) | | A | B |
+--------------+---------------------+--+------------+------------+
| How many 'B' | (there should be 2) | | B | B |
+--------------+---------------------+--+------------+------------+
| | | | B | A |
+--------------+---------------------+--+------------+------------+
我尝试在Google表格中执行此操作。
尝试:
=QUERY({D2:D; E2:E},
"select Col1,count(Col1)
where Col1 is not null
group by Col1
label count(Col1)''", 0)