=DATEDIF(TEXT(A1,"0-00-00"),TODAY(),"Y")或=DATEDIF(TEXT(A1,"#-00-00"),TODAY(),"Y"
)如果出生年月日的格式是19880221,是设置自定义单元格格式得到的,可用如下公式=DATEDIF(A1,TODAY(),"Y")
=DATEDIF(TEXT(A1,"0-00-00"),TODAY(),"Y")或=DATEDIF(TEXT(A1,"#-00-00"),TODAY(),"Y"
)如果出生年月日的格式是19880221,是设置自定义单元格格式得到的,可用如下公式=DATEDIF(A1,TODAY(),"Y")