d2=DATEDIF(C2,TODAY(),"M")/12 单元格格式设置为数值,保留一位小数就行了
在d2中输入=IF((MONTH(TODAY())-MONTH(C2))<0,(YEAR(TODAY())-YEAR(C2))-1&"."&(MONTH(TODAY())-MONTH(C2))+12,(YEAR(TODAY())-YEAR(C2))&"."&(MONTH(TODAY())-MONTH(C2)))
=(TODAY()-C2)/360
=(today()-c2)/365