如图所示,在C2输入:
=IF(COUNTA(A2:B2),TEXT(MOD(SUMPRODUCT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2:B2,"度",":"),"分",":"),"秒",)*{1,-1}),360/24),"[h]度mm分ss秒"),"")
下拉填充
如图所示,在C2输入:
=IF(COUNTA(A2:B2),TEXT(MOD(SUMPRODUCT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2:B2,"度",":"),"分",":"),"秒",)*{1,-1}),360/24),"[h]度mm分ss秒"),"")
下拉填充