<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ke_takahashi</author_name>
  <author_url>https://blog.hatena.ne.jp/ke_takahashi/</author_url>
  <blog_title>memorandums</blog_title>
  <blog_url>https://memorandums.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>とある文章に含まれる○○時間○○分の合計時間を計算したいな。。。と思ったのですが優秀なExcelくんでも「１時間３０分＋３時４５分」のような計算はできません。 オレオレな式を作りました。 同じ場面に遭遇したときにまた考えるのは面倒だな。。。とnoteを書くことにしました。 以下、A1に変換したい文字列が入っているとします。 ①&quot;○○時間○○分&quot; ⇒ 分 に変換する式 =IF(COUNTIF(A1,&quot;*時間*&quot;),INT(LEFT(A1,FIND(&quot;時間&quot;,A1)-1))*60+INT(SUBSTITUTE(RIGHT(A1,LEN(A1)-FIND(&quot;時間&quot;,A1)-1),&quot;分&quot;,&quot;&quot;)),I…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemorandums.hatenablog.com%2Fentry%2F2022%2F10%2F23%2F000000&quot; title=&quot;Excelワークシートのセルの値を時分⇒分または分⇒時分に変換する式 - memorandums&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://assets.st-note.com/production/uploads/images/89616143/picture_pc_366bfc1859c5e61f238b0621871041ac.png?width=800</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-10-23 00:00:00</published>
  <title>Excelワークシートのセルの値を時分⇒分または分⇒時分に変換する式</title>
  <type>rich</type>
  <url>https://memorandums.hatenablog.com/entry/2022/10/23/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
