Google sheets 谷歌工作表-添加偏移量和查询位置
我想在这个查询中添加偏移量1和一个条件:where COUNT(a)>0,但无论我在哪里尝试添加它们,我都会出错Google sheets 谷歌工作表-添加偏移量和查询位置,google-sheets,google-sheets-formula,Google Sheets,Google Sheets Formula,我想在这个查询中添加偏移量1和一个条件:where COUNT(a)>0,但无论我在哪里尝试添加它们,我都会出错 =QUERY(A:B,"SELECT A , COUNT(A) Group BY A LABEL COUNT(A) '' " , 1) 我试过了,但没用 =QUERY(A:B,"SELECT A , COUNT(A) Group BY A LABEL COUNT(A) Offset 1 WHERE COUNT(A)>0'' " ,
=QUERY(A:B,"SELECT A , COUNT(A) Group BY A LABEL COUNT(A) '' " ,
1)
我试过了,但没用
=QUERY(A:B,"SELECT A , COUNT(A) Group BY A LABEL COUNT(A) Offset 1 WHERE COUNT(A)>0'' " ,
1)
谢谢 试试看:
=QUERY(A:B, "select A,count(A) group by A label count(A)''", 0)
或:
=QUERY(QUERY(A:B,
"select A,count(A) group by A label count(A)''", 0),
"where Col2 > 0", 0)