仅供参k a0千字文,仅限365 的 最新 版 (支持REDUCE ,LAMBDA)
=UPPER(SUBSTITUTE(TEXTJOIN(CHAR(10),,LET(a,SUBSTITUTE(MID(REDUCE(CLEAN(AE2),{"-On Assy:","On Assy:","v.,","v,"},LAMBDA(x,y,SUBSTITUTE(x,y,","))),3^(LEFT(AE2)="-"),99),"&","z"),b,LOOKUP(ROW(INDIRECT("1:"&COUNTA(FILTERXML("<a><b>"&SUBSTITUTE(a,",","</b><b>")&"</b></a>","//b")))),ROW($1:$99)/(LEFT(FILTERXML("<a><b>"&SUBSTITUTE(a,",","</b><b>")&"</b></a>","//b"))<>"-"),FILTERXML("<a><b>"&SUBSTITUTE(a,",","</b><b>")&"</b></a>","//b")),c,LEFT(b,FIND("-",b)),d,FILTERXML("<a><b>"&SUBSTITUTE(a,",","</b><b>")&"</b></a>","//b"),e,MID(d,FIND("-",d)+1,99),f,"/"&c&e&"/",f)),"z","/&")) |