=IF(A3<>"",TEXT((LEN(A3)=15)*19&MID(A3,7,6+(LEN(A3)=18)*2),"#-00-00")+0,)(出生日期){A格填身份证号码} =IF(A3<>"",IF(MOD(RIGHT(LEFT(A3,17)),2),"男","女"),)(性别) =IF(A3<>"",DATEDIF(TEXT((LEN(A3)=15)*19&MID(A3,7,6+(LEN(A3)=18)*2),"#-00-00"),TODAY(),"y"),)(年龄) =IF(LEN(A3)=15,REPLACE(A3,7,,19)&MID("10X98765432",MOD(SUM(MID(REPLACE(A3,7,,19),ROW(INDIRECT("1:17")),1)*2^(18-ROW(INDIRECT("1:17")))),11)+1,1),A3)(全部改为18位) =IF(LEN(A3)=15,A3,LEFT(REPLACE(A3,7,2,),15))(全部改为15位) =IF(A3<>"",EDATE(TEXT((LEN(A3)=15)*19&MID(A3,7,6+(LEN(A3)=18)*2),"#-00-00"),660+MOD(RIGHT(LEFT(A3,17)),2)*60),)(退休日期)"以上是身份证查询公式,能告诉我其中每字节的意思吗?"谢谢! |