|
本帖最后由 悟空师弟 于 2012-6-18 12:15 编辑
先传个,期待更精彩的答案!
数组公式下拉:112字符- =INDIRECT(TEXT(SMALL(IF(COLUMN(A:AD)>B$2:B$9,999,ROW($2:$9))*10+3-(COLUMN(A:AD)<B$2:B$9)*2,ROW(A1)),"r0c0"),)&""
复制代码 选中区域F2:F241后的区域数组公式:106字符- =T(INDIRECT(TEXT(SMALL(IF(COLUMN(A:AD)>B2:B9,999,ROW(2:9))*10+3-(COLUMN(A:AD)<B2:B9)*2,ROW()-1),"r0c0"),))
复制代码
------------------------------------------------------------------------------------------------------------------------------------------------------
简化一下:
数组公式下拉:104字符
- =INDEX(A:A,RIGHT(SMALL(IF(COLUMN(1:1)>B$2:B$9,9,ROW($2:$9))*101+(COLUMN(1:1)>=B$2:B$9)*9,ROW(A1)),2))&""
复制代码
选中区域F2:F241后的区域数组公式:98字符
=INDEX(A:A,RIGHT(SMALL(IF(COLUMN(1:1)>B2:B9,9,ROW(2:9))*101+(COLUMN(1:1)>=B2:B9)*9,ROW()-1),2))&""
换个思路:
78字符(普通公式)
- =INDEX(A:A,COUNTIF(F$1:F1,"")+2+(COUNTIF(F$1:F1,F1)=SUMIF(A:A,F1,B:B)-1)*9)&""
复制代码
74字符(普通公式)(需清除模拟结果后才正确,不知道能不能算)
- =INDEX(A:A,COUNTIF(F$1:F1,"")+2+(COUNTIF($1:1,F1)=SUMIF(A:A,F1,B:B))*9)&""
复制代码
------------------------------------------------------------------------------------------------------------------------------------------------------
借众神思路,75字符:(数组公式)
- =INDEX(A:A,SUM(SMALL((B$2:B2<COLUMN(1:1))*9+ROW($2:2),ROW(1:2))*{-8;9}))&""
复制代码
|
评分
-
1
查看全部评分
-
|