发布网友 发布时间:2022-04-22 03:51
共2个回答
热心网友 时间:2023-09-08 19:40
条件1:公式取出实际尾号和你计算的尾号(你自己怎么算的怎么写)比较;热心网友 时间:2023-09-08 19:41
=IF(LEN(A2)=0,"空",IF(LEN(A2)=15,"旧号",IF(LEN(A2)<>18,"位数不对",IF(CHOOSE(MOD(MID(A2,1,1)*7+MID(A2,2,1)*9+MID(A2,3,1)*10+MID(A2,4,1)*5+MID(A2,5,1)*8+MID(A2,6,1)*4+MID(A2,7,1)*2+MID(A2,8,1)*1+MID(A2,9,1)*6+MID(A2,10,1)*3+MID(A2,11,1)*7+MID(A2,12,1)*9+MID(A2,13,1)*10+MID(A2,14,1)*5+MID(A2,15,1)*8+MID(A2,16,1)*4+MID(A2,17,1)*2,11)+1,1,0,"X",9,8,7,6,5,4,3,2)=IF(ISNUMBER(RIGHT(A2,1)*1),RIGHT(A2,1)*1,"X"),"正确","错误"))))