=IF(D3="","",(IF(MID("10X98765432",MOD(SUMPRODUCT(MID(D3,ROW(INDIRECT("1:17")),1)*2^(18-ROW(INDIRECT("1:17")))),11)+1,1)=MID(D3,18,18),"正确","错误")))
校验身份证号是否合法,检查D3单元格的公式是否是正确的身份证号
=IF(D3="","",(IF(MID("10X98765432",MOD(SUMPRODUCT(MID(D3,ROW(INDIRECT("1:17")),1)*2^(18-ROW(INDIRECT("1:17")))),11)+1,1)=MID(D3,18,18),"正确","错误")))
校验身份证号是否合法,检查D3单元格的公式是否是正确的身份证号