本帖最后由 丫头的 于 2020-12-28 19:43 编辑
177字符:=IFERROR(INDEX($A:$A,SMALL(IF(INDEX($B$2:$E$23,ROW($1:$22),LEFT(MMULT(N($B$2:$B$23>=INDEX($N$2:$N$6,MATCH($C$2:$E$23,$G$2:$K$2,))),{100;20;3}))+1)=G$2,ROW($2:$23)),ROW(A1))),"")去掉了几个累赘162字符:再砍下去,的换方法了
=IFERROR(INDEX($A:$A,SMALL(IF(INDEX($B$2:$E$23,ROW($1:$22),LEFT(MMULT(N($B$2:$B$23>=VLOOKUP($C$2:$E$23,$M$2:$N$6,2,)),{200;30;4})))=G$2,ROW($2:$23)),ROW(A1))),"")
补充内容 (2021-1-9 20:34):
=INDEX($A:$A,SMALL(IF(T(OFFSET($A$1,ROW($1:$22),LEFT(MMULT(N($B$2:$B$23>=VLOOKUP($C$2:$E$23,$M$2:$N$6,2,)),{200;30;4}))))=G$2,ROW($2:$23)),ROW(A1)))
补充内容 (2021-1-11 07:39):
150字符的,搞不定了,在弄,得换思路了
=INDEX($A:$A,SMALL(IF(T(OFFSET($A$1,ROW($1:$22),LEFT(MMULT(N($B$2:$B$23>=VLOOKUP($C$2:$E$23,$M:$N,2,)),{200;30;4}))))=G$2,ROW($2:$23),25),ROW(A1)))&""
补充内容 (2021-1-18 19:27):
半区域函数...哎...136字符
=INDEX($A:$A,MODE.MULT(IF(T(OFFSET($A1,ROW(1:22),LEFT(MMULT(N($B2:$B23>=VLOOKUP($C2:$E23,$M:$N,2,)),{200;30;4}))))=G2,ROW(2:23)*{1,1})))
补充内容 (2021-1-18 21:58):
=INDEX($A:$A,SORT(IF(INDEX($B:$E,ROW(2:23),LEFT(MMULT(N($B2:$B23>=SUMIF($M:$M,$C2:$E23,$N1)),{200;30;4})))=G2,ROW(2:23),26)))&""
128字符,加了个sort,365函数,右拉(点错了,跑24楼了)
补充内容 (2021-1-19 07:51):
本着不用或少用365函数的理念,.....又用了filter,现在是106字符:如下
=FILTER($A2:$A23,INDEX($B:$E,ROW(2:23),LEFT(MMULT(N($B2:$B23>=SUMIF($M:$M,$C2:$E23,$N1)),{200;30;4})))=G2) |