0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

rex0220 計算式プラグイン テーブル内文字列複数行を転記

Last updated at Posted at 2025-06-17

計算式プラグインで、テーブル内文字列複数行を転記してみます。

概要

テーブル内文字列複数行を文字列複数行・文字列項目に転記します。
文字列複数行には、全行をまとめて転記。
文字列項目には、1行ずつ転記します。

※ テーブル・文字列複数行・グループを横並びプラグインで表示

2025-06-17_10h53_54.png

計算式プラグイン設定

文字列複数行は、テーブル行毎に"---------------"区切り表示
文字列は、1行ごとに分けて転記します。

2025-06-17_10h48_07.png

OPTION: 

// 文字列複数行 MULTI_LINE_TEXT
JOIN(
  TARRAY(文字列複数行T),
  NEWLINE()&"---------------"&NEWLINE()
)

// グループ GROUP
LET(
  ary, SPLIT(JOIN(TARRAY(文字列複数行T),NEWLINE()),NEWLINE()),
  dmy, FSET(文字列1,ARRAY_GET(ary,0)),
  dmy, FSET(文字列2,ARRAY_GET(ary,1)),
  dmy, FSET(文字列3,ARRAY_GET(ary,2)),
  dmy, FSET(文字列4,ARRAY_GET(ary,3)),
  1
)

// 文字列1 SINGLE_LINE_TEXT
// 文字列2 SINGLE_LINE_TEXT
// 文字列3 SINGLE_LINE_TEXT
// 文字列4 SINGLE_LINE_TEXT
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?