本帖最后由 鬼狐 于 2011-11-3 00:11 编辑
223字符,先拿一分再说{:soso_e121:}- =INDEX($A:$A,MOD(SMALL(IF(($C$2:$C$25+TRANSPOSE($C$2:$C$25*($B$2:$B$25=IF(COLUMN()=6,$G$2,$F$2)))=MAX($C:$C)+1)*($B$2:$B$25=F$2),IF(ROW($1:$24)>COLUMN($A:$X),COLUMN($A:$X),ROW($1:$24))/1%+ROW($2:$25),9999),ROW(A1)),100))&""
复制代码 另外,问个问题,能不能引用非答题区域的单元格啊,比如d2或者是e2
=================================================
总算明白了什么是不能整列引用了~~
改一下,增加10个字符,还是可以得一分^_^
- =INDEX($A$1:$A$25,MOD(SMALL(IF(($C$2:$C$25+TRANSPOSE($C$2:$C$25*($B$2:$B$25=IF(COLUMN()=6,$G$2,$F$2)))=MAX($C$2:$C$25)+1)*($B$2:$B$25=F$2),IF(ROW($1:$24)>COLUMN($A:$X),COLUMN($A:$X),ROW($1:$24))/1%+ROW($2:$25),9925),ROW(A1)),100))&""
复制代码
=================================================
大体思路不变,改成F3:G14区域数组,207字符,先送上,还差17个字符- -!
- =INDEX(A2:A25,MID(SMALL(IF((C2:C25+TRANSPOSE(C2:C25)=MAX(C2:C25)+1)*(B2:B25=F2)*(TRANSPOSE(B2:B25=G2)),IF(ROW(1:24)>COLUMN(A:X),COLUMN(A:X),ROW(1:24))+ROW(1:24)%+COLUMN(A:X)%%,24.2424)%,ROW()-2),{5,7},2))&""
复制代码
=================================================
上面的公式有点小问题,10%显示的是0.1而不是0.10,所以当用mid截取有些时候会出现错误
改一下,还是207个字符,估计这种思路中,207已经是极限了吧
=INDEX(A2:A25,MID(SMALL(IF((C2:C25+TRANSPOSE(C2:C25)=MAX(C2:C25)+1)*(B2:B25=F2)*TRANSPOSE(B2:B25=G2),IF(ROW(1:24)>COLUMN(A:X),COLUMN(A:X),ROW(1:24))+ROW(1:24)%+COLUMN(A:X)%%,24.2424)%,ROW()-2)&0,{5,7},2))&""
以下,是另外的思路,177个字符,还是F3:G14区域数组
- =INDEX(A2:A25,MOD(SMALL(IF(B2:B25=F2:G2,MATCH(ABS({0,1}*(MAX(C2:C25)+1)-C2:C25),ABS(IF(B2:B25=F2,,MAX(C2:C25)+1)-C2:C25),)/1%%+{1,2}/1%+ROW(1:24),999924),ROW()*2-{5,4}),100))&""
复制代码
=================================================
想了好久,还是只差一个字符,真恶心,F3:G14区域数组166,先上传
- =INDEX(A2:A25,MOD(SMALL(IF(B2:B25=F2:G2,MATCH(ABS({0,1}*MAX(C2:C25+1)-C2:C25),ABS((B2:B25=G2)*MAX(C2:C25+1)-C2:C25),)/1%+{0,50}+ROW(1:24),9924),ROW()*2-{5,4}),50))&""
复制代码 另外,听说可以F列区域然后右拉,如果是这样子的话,就很简单了,只要138就可以搞定了,不知真假,先上传
- =INDEX($A2:$A25,MOD(SMALL(IF($B2:$B25=F2,MATCH($C2:$C25,ABS(($B2:$B25<>F2)*MAX($C2:$C25+1)-$C2:$C25),)*50+ROW(1:24),9924),ROW()-2),50))&""
复制代码 =================================================
发现改成单元格数组公式的话,也才154,比F3:G14区域小,总算搞定了,哇哈哈~~~
F3右下拉
- =INDEX($A$2:$A$25,MOD(SMALL(IF($B$2:$B$25=F$2,MATCH($C$2:$C$25,ABS(($B$2:$B$25<>F$2)*MAX($C$2:$C$25+1)-$C$2:$C$25),)*50+ROW($1:$24),9924),ROW()-2),50))&""
复制代码
|