- =LET(B,BYCOL(TOROW(D1:M3,1),LAMBDA(X,CONCAT(IF(MMULT({1,1,1,1},1-ISERR(FIND(MID(X,{1;2;3;4},1),D7:K7)))=3,X,"")))),FILTER(B,B<>""))
复制代码
- =TEXTSPLIT(TEXTJOIN(",",1,MAP(D1:M3,LAMBDA(X,CONCAT(IF(MMULT({1,1,1,1},1-ISERR(FIND(MID(X,{1;2;3;4},1),D7:K7)))=3,X,""))))),",")
复制代码
- =TOROW(--MAP(D1:M3,LAMBDA(X,CONCAT(IF(MMULT({1,1,1,1},1-ISERR(FIND(MID(X,{1;2;3;4},1),D7:K7)))=3,X,"")))),2)
复制代码
- =TOROW(MAP(D1:M3,LAMBDA(X,CONCAT(IF(MMULT({1,1,1,1},1-ISERR(FIND(MID(X,{1;2;3;4},1),D7:K7)))=3,X,"")))),1)
复制代码
老师,前三个公式都能得到结果,为什么 TOROW 不能忽略空白,而能忽略错误
TEXTJOIN 也能忽略空格
|