答案,
第一题:
=COUNT(1/(MOD(A4&-B4&-ROW($1:$31),7)>1))
=20+COUNT(1/(MOD(A4&-B4&-{29,30,31},7)>1))
=NETWORKDAYS(A4&-B4,DATE(A4,B4+1,))
=NETWORKDAYS(A4&-B4,EOMONTH(A4&-B4,0))
=SUMPRODUCT(N(MOD(ROW(INDIRECT(--(A4&-B4)&":"&EOMONTH(A4&-B4,0))),7)>1))
=COUNT(SEARCH(TEXT(A4&-B4&-ROW($1:$31),"MM!*AAA"),0&B4&"一二三四五"))
=SUM(N(DATE(A4,B4+1,1)>WORKDAY((A4&-B4)-1,ROW($1:$25))))
=MATCH(DATE(A4,B4+1,),WORKDAY((A4&-B4)-1,ROW($1:$25)))
=FREQUENCY(WORKDAY((A4&-B4)-1,ROW($1:$28)),DATE(A4,B4+1,)) 第二题:
=INDEX(A:A,ROW(A12)/4)
=OFFSET(A$2,ROW(A4)/4,)
第三题:
=LOOKUP(1,0/LEN(A$3:A3),A$3:A3)
=LOOKUP(,-CODE(A$3:A3),A$3:A3)
=IF(A3="",E2,C3)
第四题:
=IF(MOD(A3,7)<2,"周末",TEXT(A3,"AAAA"))
=TEXT(WEEKDAY(A3,2)+1,"[<6]aaaa;周末")
第五题:
=IF(RIGHT(A3)="章",COUNTIF(A4:A$25,"*页")-SUM(C4:C$26),"")
=IF(RIGHT(A3)="章",MATCH(,1-ISERR(-MID(A4:A$26,2,1)),)-1,"")
=IF(RIGHT(A3)="章",LOOKUP(99,MATCH({"","*章"},A4:A$27&"",))-1,"")
第六题:
=OFFSET(A$1,-LOOKUP(,-IF({1,0},13,MATCH(ROW(A2),ROW($1:2)+SUMIF(OFFSET(B$1,,,ROW($1:2)),"<>"),))),)&""
=LOOKUP("々",IF({1,0},"",LOOKUP(2,1/(ROW(A1)=ROW($1:1)+SUMIF(OFFSET(B$2,,,ROW($1:1)),"<>")),A$3:A3)))
=OFFSET(A$2,MATCH(ROW(),IF(ROW($1:12)<12,SUBTOTAL(9,OFFSET(B$2,,,ROW($1:1)))+ROW($16:16),ROW()),),)&""
=INDEX(A:A,RIGHT(SMALL(IF(B$3:B$12+2>COLUMN(A:G),ROW($3:$12)*101+(COLUMN(A:G)>1)*20,4^8),ROW(A1)),2))&""
第七题:
=ABS(SUM(RIGHT(LARGE(IF(ROW(1:20)<COUNT(,,1/(A3:A20<>A4:A21)),FREQUENCY(IF(A3:A20=A4:A21,ROW(3:20)),IF(A3:A20<>A4:A21,ROW(3:20)))*100+SMALL(IF(A3:A21<>A4:A22,ROW(3:21)),ROW(1:20))),{1,2}),2)*{1,-1}))+1
=ABS(SUM(MOD(LARGE(FREQUENCY(IF(A3:A20=A4:A21,ROW(3:20)),IF(A3:A20=A4:A21,,ROW(3:20)))*100+ROW(3:21),{1,2}),100)*{1,-1}))+1
上面的“引用”中的公式都是我所作,但附件中有整理的部分E友的公式。
经测试,附件中的第七题第三个答案,有些问题 ,这个答案我是参考(51楼)的,现在看来该答案并不对。
改成这样,应该就不会出错了。
=ABS(SUM(RIGHT(LARGE(MMULT(LARGE(((D3:D20=D4:D21)+(D4:D21=D5:D22)=1)*ROW(1:18),ROW(1:9)*2-{1,0}),{101;-100}),{1,2}),2)*{1,-1}))+1
题目测试参与有奖-20110228-2003.rar
(33.92 KB, 下载次数: 105)
题目测试参与有奖-20110228-2007.rar
(38.92 KB, 下载次数: 50)
[ 本帖最后由 wangg913 于 2011-3-2 12:42 编辑 ] |