本人根据cheerson的答案。做了个if语句判断公式。在A5到L5之间放十二个数字5。然后将以下公式粘贴到M5中。然后修改A5到L5中任意一个数字不等于5。则会在M5中显示被修改的数字为第几个,是大于5还是小于5。请大家尝试~~ 公式如下:=IF(SUM(A5:D5)=SUM(E5:H5),IF(SUM(A5:C5)=SUM(I5:K5),IF(A5<L5,"12d",IF(A5>L5,"12x","xiangtong")),IF(SUM(A5:C5)>SUM(I5:K5),IF(I5<J5,"9x",IF(I5=J5,"11x","10x")),IF(I5<J5,"10d",IF(I5=J5,"11d","9d")))),IF(SUM(A5:D5)>SUM(E5:H5),IF(SUM(B5+C5+E5)=SUM(D5+H5+I5),IF(F5<G5,"6x",IF(F5>G5,"7x","1d")),IF(SUM(B5+C5+E5)>SUM(D5+H5+I5),IF(B5<C5,"3d",IF(B5=C5,"8x","2d")),IF(E5<H5,"5x",IF(H5=E5,"4d","8x")))),IF(SUM(B5+C5+E5)=SUM(D5+H5+I5),IF(F5<G5,"7d",IF(F5>G5,"6d","1x")),IF(SUM(B5+C5+E5)>SUM(D5+H5+I5),IF(D5<H5,"4x",IF(D5=H5,"5d","8x")),IF(B5<C5,"2x",IF(B5=C5,"8d","3x")))))) |