数据有效性和公式
工号:="G"&TEXT(ROW(A1),"0000")
姓名:=SUBSTITUTE(B2," ","")=B2
部门名称、学历名称、婚姻状况、离职原因:数据有效性(序列)
身份证号码:=AND(LEN(F2)=18,COUNTIF($F$2:F2,F2)=1)
性别:=IF(ISEVEN(MID(F2,17,1)),"女","男")
出生日期:=1*TEXT(MID(F2,7,8),"0000-00-00")
计算年龄:=DATEDIF(H2,TODAY(),"Y")
工龄:=DATEDIF(J2,TODAY(),"Y")
完整性:=AND(SUBSTITUTE(B2," ","")=B2,COUNTA($B1:$K1)=10)