<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>swfz</author_name>
  <author_url>https://blog.hatena.ne.jp/swfz/</author_url>
  <blog_title>notebook</blog_title>
  <blog_url>https://swfz.hatenablog.com/</blog_url>
  <categories>
    <anon>SpreadSheet</anon>
  </categories>
  <description>スプレッドシートで何かしらまとめたりしているとQUERYを使うことが多くなる デフォルトだとヘッダ行も出力されるので、それだと使いづらいケースがある それをなくして使いやすくする 結論 LABEL ${列の名前} '' をQUERYの最後につける 例 まず普通に使った場合 こんな感じのデータがあったときに I2のクエリの中身 =QUERY(A2:C5,&quot;SELECT SUM(B)&quot;) K2のクエリの中身 =QUERY(A1:C5,&quot;SELECT SUM(B)&quot;) データ範囲にヘッダ行を入れる入れないで多少出力がかわるが列名が表示され、QUERYの結果のデータが出力される ヘッダ行を表示させない…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fswfz.hatenablog.com%2Fentry%2F2023%2F07%2F23%2F191247&quot; title=&quot;SpreadsheetのQUERYでヘッダを削除する - notebook&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/s/swfz/20230723/20230723191225.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-07-23 19:12:47</published>
  <title>SpreadsheetのQUERYでヘッダを削除する</title>
  <type>rich</type>
  <url>https://swfz.hatenablog.com/entry/2023/07/23/191247</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
