<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ksk1130</author_name>
  <author_url>https://blog.hatena.ne.jp/ksk1130/</author_url>
  <blog_title>管理人Kのひとりごと</blog_title>
  <blog_url>https://www.k-hitorigoto.online/</blog_url>
  <categories>
    <anon>Excel</anon>
  </categories>
  <description>ワークシート関数にはlastIndexOfに似た関数ないんですね... というわけで、なんとか頑張ってみました。そして、そいつを使ってフルパスから拡張子を取得してみました。 # 「A1」セルの内容から、拡張子(最後の「.」より右側の文字列)を取得する式です =RIGHT(A1,LEN(A1)-FIND(&quot;$&quot;,SUBSTITUTE(A1,&quot;.&quot;,&quot;$&quot;,LEN(A1)-LEN(SUBSTITUTE(A1,&quot;.&quot;,&quot;&quot;))))) ' 以下はかみ砕いたやつです =RIGHT(A1, '一番最後の探索対象文字(&quot;.&quot;)(&quot;$&quot;に置換された)以降の文字列を求める(4) LEN(A1)-FIND(&quot;$&quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.k-hitorigoto.online%2Fentry%2F2017%2F03%2F05%2F202924&quot; title=&quot;ワークシート関数でlastIndexOfする(Excel) - 管理人Kのひとりごと&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>2017-03-05 20:29:24</published>
  <title>ワークシート関数でlastIndexOfする(Excel)</title>
  <type>rich</type>
  <url>https://www.k-hitorigoto.online/entry/2017/03/05/202924</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
