表などでセル内の文字を左詰めや中央詰めでなく、均等に配置したい場面もあると思います。
そのような場合は、セルの書式設定で均等割り付けを指定すればOKです。
成果物
![allocation9](https://sunagitsune.com/wp-content/uploads/2021/04/allocation9.png)
均等割り付け機能を使用すると、縦、横それぞれ文字を一定の間隔で割り付けて配置できます。
一文字しかない場合は左、または上に表示されます。
一文字しかない場合は左、または上に表示されます。
均等割り付けの使い方
![allocation1](https://sunagitsune.com/wp-content/uploads/2021/04/allocation1.png)
デフォルトではセルはこのように左詰めになっていますが、
![allocation2](https://sunagitsune.com/wp-content/uploads/2021/04/allocation2.png)
範囲を選択して右クリック→セルの書式設定をクリックし、
![allocation3](https://sunagitsune.com/wp-content/uploads/2021/04/allocation3.png)
配置タブで「横位置」を均等割り付け(インデント)にセットして、
![allocation4](https://sunagitsune.com/wp-content/uploads/2021/04/allocation4.png)
他はそのままOKを押します。
![allocation5](https://sunagitsune.com/wp-content/uploads/2021/04/allocation5.png)
結果、このように横方向の文字が均等に配置されます。
縦方向の均等割り付け
![allocation6](https://sunagitsune.com/wp-content/uploads/2021/04/allocation6.png)
縦の場合も同じです。範囲を選択してセルの書式設定へ進み、
![allocation7](https://sunagitsune.com/wp-content/uploads/2021/04/allocation7.png)
配置タブで「縦位置」を均等割り付けにセットしてOKを押します。
![allocation8](https://sunagitsune.com/wp-content/uploads/2021/04/allocation8.png)
実行結果です。
![](https://sunagitsune.com/wp-content/uploads/2020/01/paper-3146952_1280-160x90.jpg)
Excel(エクセル):セルの書式設定
多機能でよく使う「セルの書式設定」についてのまとめです。
コメント