这个公式可不可以简化,=IF(LEN(A1)=18,DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),NOW(),"y")&"岁零"&DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),NOW(),"ym")&"个月"&DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),N
来源:学生作业帮助网 编辑:六六作业网 时间:2025/01/09 17:20:14
这个公式可不可以简化,=IF(LEN(A1)=18,DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),NOW(),"y")&"岁零"&DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),NOW(),"ym")&"个月"&DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),N
这个公式可不可以简化,
=IF(LEN(A1)=18,DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),NOW(),"y")&"岁零"&DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),NOW(),"ym")&"个月"&DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),NOW(),"md")&"天",DATEDIF(19&MID(A1,7,2)&"-"&MID(A1,9,2)&"-"&MID(A1,11,2),NOW(),"y")&"岁零"&DATEDIF(19&MID(A1,7,2)&"-"&MID(A1,9,2)&"-"&MID(A1,11,2),NOW(),"ym")&"个月"&DATEDIF(19&MID(A1,7,2)&"-"&MID(A1,9,2)&"-"&MID(A1,11,2),NOW(),"md")&"天")
这个公式可不可以简化,=IF(LEN(A1)=18,DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),NOW(),"y")&"岁零"&DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),NOW(),"ym")&"个月"&DATEDIF(MID(A1,7,4)&"-"&MID(A1,11,2)&"-"&MID(A1,13,2),N
=DATEDIF(TEXT(MID(A1,7,LEN(A1)*2/3-4),"0-00-00"),NOW(),"y")&"岁零"&DATEDIF(TEXT(MID(A1,7,LEN(A1)*2/3-4),"0-00-00"),NOW(),"ym")&"个月"&DATEDIF(TEXT(MID(A1,7,LEN(A1)*2/3-4),"0-00-00"),NOW(),"md")&"日"