Google SpreadSheet Query: Can I remove column head

2019-01-31 11:25发布

I'm doing this query at my google spreadsheet:

=QUERY(H4:L35;"select sum(L) where H='First Week'"; -1)

But it returns a little table with "sum" as header and result below it. What I want is just the result! How I remove header? Can I?

3条回答
兄弟一词,经得起流年.
2楼-- · 2019-01-31 11:46

=QUERY(QUERY('Form responses 3'!$A$2:$P$1017,"SELECT max(E),max(C), max(D) WHERE B='" & B14 & "' GROUP BY B LIMIT 1 ",-1),"SELECT * offset 1",0)

Second Query: "SELECT * offset 1" Exclude 1st header

查看更多
The star\"
3楼-- · 2019-01-31 11:51

See the format here.

Example:

=QUERY(B4:C38,
   "SELECT C, sum(B) where C!='' group by C label C 'Member', sum(B) 'Sum'"
)
查看更多
聊天终结者
4楼-- · 2019-01-31 11:53

Try this:

=QUERY(H4:L35,"select sum(L) where H='First Week' label sum(L) ''")

Hope that Helps!

查看更多
登录 后发表回答