<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nandemo_excel</author_name>
  <author_url>https://blog.hatena.ne.jp/nandemo_excel/</author_url>
  <blog_title>なんでもエクセル（Nandemo Excel）</blog_title>
  <blog_url>https://nandemo-xl.hatenablog.com/</blog_url>
  <categories>
    <anon>数式／関数</anon>
  </categories>
  <description>六曜（先勝・友引・先負・仏滅・大安・赤口）を数式で計算しようとすると、月齢計算が必要になりますので、なかなかにめんどうです。そういう関数が用意されているわけではありませんので。 なのに Excelでカレンダーを作りたいという人に限って、気軽に「六曜も表示したいなー」といってくることがあります。 こういう時は、WebAPIの力を借りましょう。暦APIが jsonデータを提供してくれているので、これを使えば六曜でも十支十二支でも簡単に計算できます。旧暦カレンダーなんて作らなくていいです。 六曜=LET( date,A1, key,&quot;rokuyou&quot;, url,&quot;http://koyomi.zing…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnandemo-xl.hatenablog.com%2Fentry%2F2023%2F04%2F11%2F113410&quot; title=&quot;数式/関数：六曜を計算する - なんでもエクセル（Nandemo Excel）&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/n/nandemo_excel/20230411/20230411111910.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-04-11 11:34:10</published>
  <title>数式/関数：六曜を計算する</title>
  <type>rich</type>
  <url>https://nandemo-xl.hatenablog.com/entry/2023/04/11/113410</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
