我想将“ c =; t =; s =“值提取到列中,并在Google表格中使用带逗号的分隔字符串。这些值最多可以重复10次。C =总是只有两个大写字母
例如https://docs.google.com/spreadsheets/d/19bB5sI7t_awJH88xg5vtjD9qr0CKY79qcnsQxEE4jYA/edit?usp=sharing
答案 0 :(得分:2)
B2:
=ARRAYFORMULA(TEXTJOIN(", ",1,IF(REGEXMATCH(SPLIT($A2,"&"),B$1&"="),REGEXEXTRACT(SPLIT($A2,"&"),"=(\w+)$"),)))
&
t
或c
(B1)匹配,则=
和