先提交一个262字符:
=IF(COUNT(MATCH(FIND(A2:C2,"猴雞狗豬鼠牛虎兔龍蛇馬羊"),FIND(A2:C2,"羊猴雞狗豬鼠牛虎兔龍蛇馬"),)),LOOKUP(LOOKUP(3,MATCH(FIND(A2:C2,"猴雞狗豬鼠牛虎兔龍蛇馬羊"),FIND(A2:C2,"羊猴雞狗豬鼠牛虎兔龍蛇馬"),)),{1,2,3},A2:C2)&"的下一個生肖是"&LOOKUP(3,MATCH(FIND(A2:C2,"猴雞狗豬鼠牛虎兔龍蛇馬羊"),FIND(A2:C2,"羊猴雞狗豬鼠牛虎兔龍蛇馬"),),A2:C2),"無相鄰")
251字符:
=IF(COUNT(MATCH(FIND(A2:C2,"猴雞狗豬鼠牛虎兔龍蛇馬羊"),FIND(A2:C2,"羊猴雞狗豬鼠牛虎兔龍蛇馬"),)),INDEX(2:2,,LOOKUP(3,MATCH(FIND(A2:C2,"猴雞狗豬鼠牛虎兔龍蛇馬羊"),FIND(A2:C2,"羊猴雞狗豬鼠牛虎兔龍蛇馬"),)))&"的下一個生肖是"&LOOKUP(3,MATCH(FIND(A2:C2,"猴雞狗豬鼠牛虎兔龍蛇馬羊"),FIND(A2:C2,"羊猴雞狗豬鼠牛虎兔龍蛇馬"),),A2:C2),"無相鄰")
219字符,数组公式:
=IF(COUNT(MATCH(MATCH(A2:C2,C$3:C14,),MATCH(A2:C2,C$2:C13,),)),INDEX(2:2,,LOOKUP(3,MATCH(MATCH(A2:C2,C$3:C14,),MATCH(A2:C2,C$2:C13,),)))&"的下一個生肖是"&LOOKUP(3,MATCH(MATCH(A2:C2,C$3:C14,),MATCH(A2:C2,C$2:C13,),),2:2),"無相鄰")
[ 本帖最后由 gdfcx 于 2011-2-23 13:54 编辑 ] |