本帖最后由 ykqrs 于 2013-9-7 09:45 编辑
看到这个帖子,想起以前学习过头版一个类似的帖子,对比了一下,难在这是区域,由于不全是文本,phonetic行不通,苦苦思索一天,超套!先留个记号吧,这个不算,与要求4不符- =MID(SUM(LEFT(RIGHT(A1&A2&A3&A4&A5&A6&A7&A8&A9&A10&A11&A12&A13&A14,SMALL(MATCH(COLUMN(A:J)-1&"*",RIGHT(1/17&A1&A2&A3&A4&A5&A6&A7&A8&A9&A10&A11&A12&A13&A14,ROW($1:$1500)),),COLUMN(A:J))))/10^COLUMN(A:J))&0,3,COUNT(FIND(COLUMN(A:J)-1,A1&A2&A3&A4&A5&A6&A7&A8&A9&A10&A11&A12&A13&A14)))
复制代码 下面这个是要把数据源全部改成文本格式,和要求3不符,也不算- =MID(SUM(LEFT(RIGHT(PHONETIC(A1:A14),SMALL(MATCH(COLUMN(A:J)-1&"*",RIGHT(1/17&PHONETIC(A1:A14),ROW($1:$1500)),),COLUMN(A:J))))/10^COLUMN(A:J))&0,3,COUNT(FIND(COLUMN(A:J)-1,PHONETIC(A1:A14))))
复制代码 数字文本格式混合的确很麻烦,07通过,- =MID(SUM(RIGHT(SMALL(1*IFERROR(MATCH(ROW(1:10)-1&"*",RIGHT(IF(N(OFFSET(A15,-(INT(ROW(100:1499) /100)),)),N(OFFSET(A15,-(INT(ROW(100:1499)/100)),)),T(OFFSET(A15,-(INT(ROW(100:1499)/100)),))),MOD(ROW(1:1400)-1,100)+1),)&ROW(1:10)-1,10^5),ROW(1:10)))/10^ROW(1:10))&0,3,COUNT(0/(MMULT(COLUMN(A:N)^0,1-ISERR(FIND(COLUMN(A:J)-1,A1:A14))))))
复制代码 很郁闷,03依旧通不过,match出来的错误值不知怎么变成一个大的数字,258字- =MID(SUM(RIGHT(SMALL(1*(IFERROR(MATCH(ROW(1:10)-1&"*",INDEX(RIGHT(A1:A14,COLUMN(A:CV)),N(IF(1,15-INT(ROW(100:1499)/100))),N(IF(1,MOD(ROW(1:1400)-1,100)+1))),),1500)&ROW(1:10)-1),ROW(1:10)))/10^ROW(1:10)),3,COUNT(MATCH("*"&ROW(1:10)-1&"*",LEFT(A1:A14,100),)))
复制代码 又闷头想了一下午,IFERROR给去掉了,07可用,但在03中超套,272字,汗。。。。。- =MID(SUM(RIGHT(SMALL(MATCH(ROW(1:10)-1&"*",INDEX(RIGHT(MID(5^19,ROW(1:14)*14-13,14)&A1:A14,COLUMN(A:DJ)),N(IF(1,15-INT(ROW(114:1709)/114))),N(IF(1,MOD(ROW(1:1596)-1,114)+1))),)/1%+ROW(1:10)-1,ROW(1:10)))/10^ROW(1:10)),3,COUNT(MATCH("*"&ROW(1:10)-1&"*",LEFT(A1:A14,100),)))
复制代码 又花了两三个小时,终于把那一层层的套去掉了,03通过,269字- =MID(SUM(RIGHT(SMALL(MATCH(ROW(1:10)-1&"*",RIGHT(MID(REPT(5^19,114),(1597-ROW(1:1596))*14-13,14)&LOOKUP(15.999-ROW(114:1709)/114,ROW(1:14),A1:A14),MOD(ROW(1:1596)-1,114)+1),)/1%+ROW(10:19),ROW(1:10)))/10^ROW(1:10)),3,COUNT(MATCH("*"&ROW(1:10)-1&"*",LEFT(A1:A14,100),)))
复制代码 适合A列全空,在03中修改参数可适应560行左右,264字,再等想想,能否减去35字,争取3分- =MID(SUM(RIGHT(SMALL(MATCH(ROW(1:10)-1&"*",RIGHT(MID(REPT(5^19,114),(1597-ROW(1:1596))*14-13,14)&LOOKUP(15.999-ROW(114:1709)/114,ROW(1:14),A1:A14),MOD(ROW(1:1596)-1,114)+1),)/1%+ROW(10:19),ROW(1:10)))/10^ROW(1:10))&0,3,COUNT(MATCH("*"&ROW(1:10)-1&"*",A1:A14&"",)))
复制代码 今天又看了看,稍微修剪下,242字,还差13字- =MID(SUM(RIGHT(SMALL(MATCH(ROW(1:10)-1&"*",RIGHT(IF(ROW(1:1596)>1482,5^19)&LOOKUP(15.999-ROW(114:1709)/114,ROW(1:14),A1:A14),MOD(ROW(1:1596)-1,114)+1),)/1%+ROW(10:19),ROW(1:10)))/10^ROW(1:10))&0,3,COUNT(MATCH("*"&ROW(1:10)-1&"*",A1:A14&"",)))
复制代码
继续。。。。。。。。。想 |