<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Infoment</author_name>
  <author_url>https://blog.hatena.ne.jp/Infoment/</author_url>
  <blog_title>Infomentのブログ ～Excel VBA奮闘記～</blog_title>
  <blog_url>https://infoment.hatenablog.com/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>VBA</anon>
    <anon>ユーザー定義関数</anon>
  </categories>
  <description>今日はOR関数について、自分用の備忘録（すぐ忘れるので）。 例えば、指定した県が北陸三県であるか判別したい場合。 ユーザー定義関数でＯＲを用いると、このような表現が可能だ。 とても一般的で、理解し易いと思う。 Function Is北陸_OR(県名 As String) As Boolean If 県名 = &quot;福井&quot; Or 県名 = &quot;石川&quot; Or 県名 = &quot;富山&quot; Then Is北陸_OR = True Else Is北陸_OR = False End If End Function 或いは、ORは全部ひっくり返せばNot Andで表すこともできる。 ただし直感的に理解しにくい場合があるた…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2021%2F02%2F15%2F235826&quot; title=&quot;OR関数についての備忘録 - Infomentのブログ ～Excel VBA奮闘記～&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/I/Infoment/20210215/20210215232844.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-15 23:58:26</published>
  <title>OR関数についての備忘録</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2021/02/15/235826</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
