日期差类型问题求助
日期差类型问题求助=DATEDIF(B3,C3,"y")&"年"&DATEDIF(B3,C3,"ym")&"月"&DATEDIF(B3,C3,"md")&"天" 借用楼上公式简化
=TEXTJOIN(,,DATEDIF(B3,C3,{"y","ym","md"})&{"年","月","天"}) =TEXT(SUM(DATEDIF(B3,C3,{"y","ym","md"})*10^{4,2,0}),"0年00月00天") D3=TEXT(SUM(DATEDIF(B3,C3,{"y","ym"})*10^{2,0}),"0年00月")&DAY(EOMONTH(C3,-1))*(DAY(C3)<DAY(B3))+DAY(C3)-DAY(B3)&"天" 情怀啊老哥,还在用这个版本,非常回答!
页:
[1]