Manmohan Singh
Manmohan Singh

Reputation: 44

Get count of values from a column separated by comma

I have a Google Sheet in the format given below.

enter image description here

Required output

a = 3
b = 3
c = 3
d = 3

Upvotes: 0

Views: 995

Answers (1)

player0
player0

Reputation: 1

try:

=ARRAYFORMULA(QUERY(FLATTEN(SPLIT(A1:A, ",")), 
 "select Col1,count(Col1) 
  where Col1 is not null 
  group by Col1 
  label count(Col1)''"))

0

Upvotes: 2

Related Questions