Reputation: 11
I'd like to know count of current value in column.
+--------------+---------------------+--+------------+------------+
| | | | 1st column | 2nd column |
+--------------+---------------------+--+------------+------------+
| How many 'A' | (there should be 1) | | A | B |
+--------------+---------------------+--+------------+------------+
| How many 'B' | (there should be 2) | | B | B |
+--------------+---------------------+--+------------+------------+
| | | | B | A |
+--------------+---------------------+--+------------+------------+
I try to do this in Google Sheets.
Upvotes: 1
Views: 51
Reputation: 1
try:
=QUERY({D2:D; E2:E},
"select Col1,count(Col1)
where Col1 is not null
group by Col1
label count(Col1)''", 0)
Upvotes: 1