我也做了个,暴长,都不忍心拿出来给大家看了,呵呵
=IF(COUNTA(A$11:L$11)=LEN(FIXED($A12,,TRUE))+1,"¥",IF(COUNTA(A$11:L$11)<=3,IF(COUNTA(B$11:L$11)>LEN(FIXED($A12,,TRUE))-1,"",MID($A12,COUNTA($A12:A12)-IF(COUNTBLANK($A12:A12)=0,IF(LEN(FIXED($A12,,TRUE))=11,0,-1),COUNTBLANK($A12:A12)),1)),IF(COUNTA(B$11:L$11)>LEN(FIXED($A12,,TRUE))-1,"",MID($A12,IF(LEN(FIXED($A12,,TRUE))=11,IF(COUNTBLANK($A12:A12)=0,(COUNTA($A12:A12)+1)-(COUNTBLANK($A12:A12)+2),COUNTA($A12:A12)-COUNTBLANK($A12:A12)),IF(COUNTBLANK($A12:A12)=0,(COUNTA($A12:A12)+1)-(COUNTBLANK($A12:A12)+1),COUNTA($A12:A12)-(COUNTBLANK($A12:A12)+1))),1))))
[此贴子已经被作者于2005-11-21 17:53:51编辑过] |