<?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>試してみた</anon>
  </categories>
  <description>前回は、名簿を段組みにする100本ノックに挑戦した。 infoment.hatenablog.com 今回は、段組みについてのお話。 例えば、１から３０までの数字を、１２列で折り返して並べたいとする。 こんな感じだ。 このとき、３０番目の数が何行何列目に来るか知るには、どのような方法が あるだろうか。やってみた。 1. IF関数を駆使する。 行・・・数が１なら１行目。列数が１なら、前の列数に１を足す。 それ以外は、一つ前と同じ。 列・・・数が１なら１列目。前の列数が１２なら、１に戻る。 それ以外は、一つ前に１を足す。 実際、式をセットするとこうなる。 テーブルに式をセットしたので、だいぶん複雑…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finfoment.hatenablog.com%2Fentry%2F2022%2F05%2F12%2F230705&quot; title=&quot;１から３０までを１２列で並べる - 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/20220512/20220512222451.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-05-12 23:07:05</published>
  <title>１から３０までを１２列で並べる</title>
  <type>rich</type>
  <url>https://infoment.hatenablog.com/entry/2022/05/12/230705</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
