B2
- =IF(COUNT(0/(MMULT(N(1-ISERR(FIND(RIGHT(ROW($2:$11)-{0,1,2}),$A2))={1,1,0}),{1;3;5})=9))>=COLUMN(A2),TRIM(MID(SUBSTITUTE(REPT(DEC2HEX(SUM(INT(1*TEXT(ABS(MMULT(N(1-ISERR(FIND(RIGHT(ROW($2:$11)-{0,1,2}),$A2))={1,1,0}),{1;3;5})-3.5),"[=5.5]16!0;[=0.5]!0;-!"&RIGHT(ROW($1:$10)))+RIGHT(ROW($1:$10)))*16^MMULT(-(COLUMN($A:$J)>ROW($1:$10)),-TEXT(ABS(MMULT(N(1-ISERR(FIND(RIGHT(ROW($2:$11)-{0,1,2}),$A2))={1,1,0}),{1;3;5})-3.5),"[=5.5]2;[=0.5]1;!0")))),2),"A",REPT(" ",99)),COLUMN(A2)*99,99)),"")
复制代码
数组公式 组合键CTRL+SHIFT+回车结束后右拉下拉 |