=IF(LEN(A10)=1,1,LEN(A10)-MAX(IF(LOOKUP(ROW(INDIRECT("1:"&(LEN(A10)-1))),ROW(INDIRECT("1:"&LEN(A10))),FIND(RIGHT(A10,1),A10,ROW(INDIRECT("1:"&LEN(A10)))))=LOOKUP(ROW(INDIRECT("1:"&(LEN(A10)-1)))+1,ROW(INDIRECT("1:"&LEN(A10))),FIND(RIGHT(A10,1),A10,ROW(INDIRECT("1:"&LEN(A10))))),ROW(INDIRECT("1:"&(LEN(A10)-1))),))) 哈哈 用 LOOKUP(ROW(INDIRECT("1:"&(LEN(A9)-1))),ROW(INDIRECT("1:"&LEN(A9))),FIND(RIGHT(A9,1),A9,ROW(INDIRECT("1:"&LEN(A9)))))=LOOKUP(ROW(INDIRECT("1:"&(LEN(A9)-1)))+1,ROW(INDIRECT("1:"&LEN(A9))),FIND(RIGHT(A9,1),A9,ROW(INDIRECT("1:"&LEN(A9))))) 找出最后一次不相同的位置,虽然有些复杂,但没出现过,评1分.-willin2000
[此贴子已经被willin2000于2007-9-30 23:40:36编辑过] |