How to get the item and count of that item from one sheet to another sheet in google-sheets?

Viewed 55
1 Answers

Put the range in {} to use Col1,Col2 notation:

=QUERY({DS!C2:C},"Select Col1, count(Col1) where Col1 > 0 group by (Col1) order by count(Col1) desc", -1)

Related