假设A1是身份证,B1用公式
=(VALUE(TODAY())-VALUE(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2)))/360