假设身份证号在A2单元格 =IF(MONTH(NOW())<MONTH(DATE(MID(A2,7,4),MID(A2,11,2),MID(A2,13,2))),INT(YEAR(NOW())-YEAR(DATE(MID(A2,7,4),MID(A2,11,2),MID(A2,13,2))))-1,IF(MONTH(NOW())>MONTH(DATE(MID(A2,7,4),MID(A2,11,2),MID(A2,13,2))),YEAR(NOW())-YEAR(DATE(MID(A2,7,4…