原帖由 fjrlgj 于 2011-3-1 15:17 发表
第五题:=IF(RIGHT(A3)="页","",MATCH(,-(RIGHT(A5:A26)="页"),))
第七题:=ABS(SUM(RIGHT(LARGE(FREQUENCY(ROW(3:20),(A3:A20A4:A21)*ROW(3:20))*100+ROW(3:21),{1,2}),2)*{1,-1}))+1
测试下学习写的这个
=ABS(SUM(RIGHT(LARGE(FREQUENCY(ROW(3:21),(A4:A22<>A3:A21)*ROW(3:21))*100+ROW(3:22),{1,2}),2)*{1,-1}))+1
=IF(LARGE(FREQUENCY(ROW(3:21),(A4:A22<>A3:A21)*ROW(3:21)),2)>1,ABS(SUM(RIGHT(LARGE(FREQUENCY(ROW(3:21),(A4:A22<>A3:A21)*ROW(3:21))*100+ROW(3:22),{1,2}),2)*{1,-1}))+1,"无两连续组")
[ 本帖最后由 chenzyyysl 于 2011-3-1 21:10 编辑 ] |