<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>doodle-on-web</author_name>
  <author_url>https://blog.hatena.ne.jp/doodle-on-web/</author_url>
  <blog_title>doodle-on-web</blog_title>
  <blog_url>https://www.doodle-office.work/</blog_url>
  <categories>
    <anon>Excel</anon>
    <anon>関数</anon>
    <anon>データ分析</anon>
    <anon>業務効率化</anon>
    <anon>スプレッドシート</anon>
  </categories>
  <description>「目視で探しますか？」数百行のデータから最長文字列を一瞬で抽出する方法 顧客レビューが500件たまったとき、「★5のレビューの中で一番長いコメントを見たい」と思ったことはないでしょうか。 スクロールしながら目視で探す？ 文字数を別列に書き出して並べ替える？ どちらも現実的ではありません。 実は、LEN・MAX・XLOOKUP（または INDEX+MATCH）の組み合わせを使えば、何千行あっても一瞬で条件付き最長文字列を取り出せます。この記事では、コピペしてすぐ動く数式と、その仕組みをステップバイステップで解説します。 サンプルデータ 以下のデータを使って解説します。意図的に同じ文字数の商品を含…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.doodle-office.work%2Fentry%2Fexcel-conditional-longest-string-lookup&quot; title=&quot;Excelで条件付き最長文字列を取得する方法｜XLOOKUP・INDEX・MATCHを使いこなす - doodle-on-web&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>2026-04-21 08:23:12</published>
  <title>Excelで条件付き最長文字列を取得する方法｜XLOOKUP・INDEX・MATCHを使いこなす</title>
  <type>rich</type>
  <url>https://www.doodle-office.work/entry/excel-conditional-longest-string-lookup</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
