<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>accs2014</author_name>
  <author_url>https://blog.hatena.ne.jp/accs2014/</author_url>
  <blog_title>いきなり答える備忘録</blog_title>
  <blog_url>https://www.officeisyours.com/</blog_url>
  <categories>
    <anon>Excel</anon>
  </categories>
  <description>Excelで、あるセルと同じ値を並べて配列、行列を作る方法です。 実用的な意味はあまりなさそうですが参考まで。 EXPAND関数を使ってあるセルを並べた配列・行列を作ることができます。手順 文字列におけるREPT関数のように、セルを指定回数繰り返すための適当な方法がなかったのですが、EXPAND関数で簡単にできるようになりました。 D3セル =EXPAND(B3,,3,B3) 第4引数（パディング）としてそのセル自身を指定すれば、そのセルの内容が繰り返されるというわけです。 もちろん行列も思いのままです。 EXPAND関数に関しては行・列数を「増やす数」を引数にした方が良かったのでは（マイナス…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.officeisyours.com%2Fentry%2F2022%2F12%2F20%2F184132&quot; title=&quot;（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/a/accs2014/20221220/20221220182620.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-20 18:41:32</published>
  <title>（Excel）セルを指定回数並べた配列・行列をつくる</title>
  <type>rich</type>
  <url>https://www.officeisyours.com/entry/2022/12/20/184132</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
