<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kaoru6strings</author_name>
  <author_url>https://blog.hatena.ne.jp/kaoru6strings/</author_url>
  <blog_title>IT系バンドマンの日常</blog_title>
  <blog_url>https://kaoru6strings.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>スプレッドシートでガントチャートを作った際の覚書です。 画面上部のツールバーから 表示形式 &gt; 条件付き書式 を選択後、書式ルールを カスタム書式 にして下記の条件式を入れると開始日と終了日の日付の間のセルの色が変わるようにできます。 色を変えたいセルが H$2 だった場合 =if(AND(H$2&gt;=開始日,H$2&lt;=終了日,WEEKDAY(H$2)&lt;&gt;1,WEEKDAY(H$2)&lt;&gt;7), true) 条件式の解説 WEEKDAY(H$2)&lt;&gt;1 日曜日を除外 WEEKDAY(H$2)&lt;&gt;7 土曜日を除外 これで日曜と土曜は灰色とかにできます。 できなかったこと 祝日のセルを灰色にできなかっ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaoru6strings.hatenablog.com%2Fentry%2F2022%2F04%2F18%2F182020&quot; title=&quot;スプレッドシートで開始日と終了日を指定したらその期間のセルの色が変わるようにした - IT系バンドマンの日常&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-04-18 18:20:20</published>
  <title>スプレッドシートで開始日と終了日を指定したらその期間のセルの色が変わるようにした</title>
  <type>rich</type>
  <url>https://kaoru6strings.hatenablog.com/entry/2022/04/18/182020</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
