限定解决方法和版本,弄起来着实费劲,只好拉火车了。
另外,这种方法,关键词很重要,但凡有一点不一致就找不到,有调整的关键词已经标黄。
由于有两个“累计”、“达成”,只好区别对待,导致公式长度增加一倍。
- =HSTACK(MAP(B$1:M$1,LAMBDA(x,-LOOKUP(,-MID(SUBSTITUTE(SUBSTITUTE(VLOOKUP(A2,P$7:Q$10,2,0),":",""),":",""),FIND(x,SUBSTITUTE(SUBSTITUTE(VLOOKUP(A2,P$7:Q$10,2,0),":",""),":",""))+LEN(x),ROW($1:$10))))),MAP(N$1:O$1,LAMBDA(x,-LOOKUP(,-MID(SUBSTITUTE(SUBSTITUTE(RIGHT(VLOOKUP(A2,P$7:Q$10,2,0),30),":",""),":",""),FIND(x,SUBSTITUTE(SUBSTITUTE(RIGHT(VLOOKUP(A2,P$7:Q$10,2,0),30),":",""),":",""))+LEN(x),ROW($1:$10))))))
复制代码
下拉。 |