Zapytanie do arkusza kalkulacyjnego Google: czy mogę usunąć nagłówek kolumny?

Robię to zapytanie w moim arkuszu kalkulacyjnym google:

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

Ale zwraca małą tabelkę z" sumą " jako nagłówkiem i wynikiem pod nią. Chcę tylko rezultatu! Jak usunąć nagłówek? Mogę?

Author: tehhowch, 2014-11-11

4 answers

Spróbuj tego:

=QUERY(H4:L35,"select sum(L) where H='First Week' label sum(L) ''")
Mam nadzieję, że to pomoże!
 98
Author: KRR,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2014-11-12 21:49:25

= 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)

Drugie zapytanie: "SELECT * offset 1" Exclude 1st header

 7
Author: user280150,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-07-08 09:44:12

Zamiast oznaczania nazw kolumn jako spacje za pomocą '', możesz pominąć wszystkie nagłówki w następujący sposób:

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

 1
Author: Steven M. Mortimer,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2017-01-03 21:02:00

Zobacz format tutaj .

Przykład:

=QUERY(B4:C38,
   "SELECT C, sum(B) where C!='' group by C label C 'Member', sum(B) 'Sum'"
)
 -1
Author: Andy,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/doraprojects.net/template/agent.layouts/content.php on line 54
2016-03-12 17:06:16