本帖最后由 mmlzh 于 2018-4-16 13:11 编辑
1 来个火车,369字符- =SUM(N(FREQUENCY(ROW($10:$90)*10^{0,1,2,3},IF(FREQUENCY((OFFSET(A$1,MAX(MID(1027,Q3,1),1+(R3="P")),MAX(MID(1053,Q3,1),1+(R3="P")*6),MIN(CHOOSE(Q3,12,,7,15),15-(R3="P"))-MAX(MID(1027,Q3,1),1+(R3="P")),MIN(CHOOSE(Q3,12,,15,11),15-(R3="P")*6)-MAX(MID(1053,Q3,1),1+(R3="P")*6)),OFFSET(C$18,FIND(S3,"YAK"),,,13)),ROW($10:$90))>{0,1,2,3},FALSE,ROW($10:$91)*10^{0,1,2,3}))>2))
复制代码
2 286字符- =SUM(N(FREQUENCY(ROW($10:$90)*10^{0,1,2,3},IF(FREQUENCY((INDIRECT(IF(R3="",MID("B0FD",Q3,1),"H")&MAX(MID(2038,Q3,1),3-(R3=""))&":"&IF(R3="",MID("L0OK",Q3,1),"I")&MIN(MID(5008,Q3,1)+7,14+(R3=""))),INDEX(C$19:O$21,FIND(S3,"YAK"),)),ROW($10:$90))>{0,1,2,3},,ROW($10:$91)*10^{0,1,2,3}))>2))
复制代码
3 250字符
- =SUM(N(FREQUENCY(ROW($10:$90)*10^{0,1,2,3},IF(FREQUENCY((INDIRECT(LOOKUP(Q3&R3,{"1","B2:L12";"1P","H3:I12";"3","F3:O7";"3P","H3:I7";"4","D8:K15";"4P","H8:I14"})),INDEX(C$19:O$21,FIND(S3,"YAK"),)),ROW($9:$98))>{0,1,2,3},,ROW($9:$99)*10^{0,1,2,3}))>2))
复制代码
4 238字符
- =SUM(N(FREQUENCY(ROW($10:$390),IF(FREQUENCY((INDIRECT(LOOKUP(Q3&R3,{"1","B2:L12";"1P","H3:I12";"3","F3:O7";"3P","H3:I7";"4","D8:K15";"4P","H8:I14"})),INDEX(C$19:O$21,FIND(S3,"YAK"),)),ROW($1:$98))>{0,1,2,3},,ROW($1:$99)+{0,1,2,3}/1%))>2))
复制代码
5 217字符
- =SUM(N(FREQUENCY(ROW($10:$390),IF(FREQUENCY((INDIRECT(MID("B2:L12H3:I12F3:O7 H3:I7 D8:K15H8:I14",(MAX(Q3-1,1)*2-(R3=""))*6-5,6)),INDEX(C$19:O$21,FIND(S3,"YAK"),)),ROW($1:$98))>{0,1,2,3},,ROW($1:$99)+{0,1,2,3}/1%))>2))
复制代码
6 216字符- =SUM(N(FREQUENCY(COLUMN(J:NZ),IF(FREQUENCY((INDIRECT(MID("B2:L12H3:I12F3:O7 H3:I7 D8:K15H8:I14",(MAX(Q3-1,1)*2-(R3=""))*6-5,6)),INDEX(C$19:O$21,FIND(S3,"YAK"),)),ROW($1:$98))>{0,1,2,3},,ROW($1:$99)+{0,1,2,3}/1%))>2))
复制代码
原写的解题过程中只为记录下公式简化的思路变化,但其中有写法不妥,对老师造成影响,在此表示歉意。
180字符
- =SUM(N(FREQUENCY(ROW(1:399),IF(FREQUENCY((CHOOSE(Q3,B$2:L$12,,F$3:O$7,D$8:K$15) IF(R3>0,H$3:I$14,B:O),INDEX(C:O,MATCH(S3,B:B,),)),ROW($1:98))<{1,2,3,4},ROW(1:99)+{0,1,2,3}/1%))>2))
复制代码
非常耗资源,不建议用
179=SUM(N(FREQUENCY(ROW(A:A),IF(FREQUENCY((CHOOSE(Q3,B$2:L$12,,F$3:O$7,D$8:K$15) IF(R3>0,H$3:I$14,B:O),INDEX(C:O,MATCH(S3,B:B,),)),ROW($1:99))<{1,2,3,4},ROW(A:A)+{1,3,5,7}/1%))>2))-5 |