=ROUND((A2-A1)/((365+366)/2),0)
a1出生日,A2现在日期,如果用today()代替也可
=datedif(开始的日期,结束的日期,"y")
比如,出生日期(即开始日期):1967-02-17
结束的日期:2009-12-31
=DATEDIFff(""1967-12-31","2009-12-31","Y")结果即为年龄
数据在a1
比如是1983-07-12
在b1输入
=datedif(a1,now(),"y")
b1中就是年龄
DATEDIF(A1,TODAY(),"y")
A1是日期
=datedif(date(left(a1,4),mid(a1,5,2),right(a1,2)),"y")