本帖最后由 delete_007 于 2017-5-9 15:12 编辑
D2:D21=- =SUBSTITUTE(DEC2HEX(LARGE(MOD(MMULT(--MID(DEC2BIN(ROW(1:63),6),{1,2,3,4,5,6},1),16^6+ROW(10:15)*16^{5;4;3;2;1;0}),4*16^6)-3*16^6,ROW(1:20))),0,)
复制代码
E2:E21=- =MMULT(COUNTIF(A2:A21,"*"&REPLACE(REPLACE(MID(DEC2HEX(MMULT(HEX2DEC(MID(D2:D21,{1,2,3,1,2,1,3,2,1},1)),16^ROW(1:9)/16)),{1,2,3,5,6,7},3),2,0,"*"),4,0,"*")&"*"),ROW(1:6)^0)
复制代码
字符数从来没达到过要求,发放个答案再想
这个短点,E2:E21=
- =MMULT(IFERROR(SEARCH("*"&REPLACE(REPLACE(D2:D21,2,0,"*"),4,0,"*"),REPT(TRANSPOSE(A2:A21),3)),0),ROW(1:20)^0)
复制代码
E列公式可进一步简化:- =MMULT(1-ISERR(SEARCH(REPLACE(REPLACE(D2:D21,3,,"*"),2,,"*"),REPT(TRANSPOSE(A2:A21),3))),1^Z1:Z20)
复制代码 ——delete_007
|