问题
How do I count checked checkboxes within a query in Google sheets (this is part of a group query where I want to count checked checkboxes in column B for each value of column A grouped by column A)?
回答1:
try:
=ARRAYFORMULA(QUERY({A:A\ B:B*1};
"select Col1,sum(Col2)
where Col1 is not null
group by Col1
label sum(Col2)''"))
来源:https://stackoverflow.com/questions/59751416/count-checked-checkboxes-within-a-query