计算年龄 =DATEDIF(TEXT((LEN(E157)=15)*19&MID(E157,7,6+(LEN(E157)=18)*2),"00-00-00"),TODAY(),"y" ) 其中E157需要根据**号码所在的列项来改变) 计算男女 =IF(C1="","",CHOOSE(MOD(IF(LEN(C1)=15,RIGHT(C1,1),IF(LEN(C1)=18,MID(C1,17,1),"")),2)+1,"女","男")) 其中“C1”是填写**号码的栏,可变。 |
欢迎光临 中人网 (http://bbs.chinahrd.net/) | Powered by Discuz! X2.5 |