没看出有什么问题,还是稍修改了一下,检查没问题。
- =BYROW(C2:W26,LAMBDA(y,LET(fx,LAMBDA(XX,IF((XX="")*(OFFSET(XX,-1,1)="")*(OFFSET(XX,1,-1)=""),1,0)),fy,LAMBDA(YY,SUBSTITUTE(ADDRESS(1,YY,4),1,)),nCol,MAX(COLUMN(y)),eCol,fy(nCol),sCol,fy(nCol-1),t,MAP(y,LAMBDA(x,IF((fx(x)=1)*(fx(INDIRECT(eCol&ROW(x)))=1)*(fx(INDIRECT(sCol&ROW(x)))=1),1,0))),s,LEN(TEXTSPLIT(CONCAT(t),0)),Ra,CONCAT(TEXTSPLIT(CONCAT(s),0)),Rf,IF(MID(Ra,SEQUENCE(,LEN(Ra),1),1)*1>1,1,0),SD,XMATCH(0,Rf,,-1),Res,IFERROR(SUM(DROP(Rf,,SD)),""),De,IF(Res<2,"",Res),De)))
复制代码
|