|
[广告] VBA代码宝 - VBA编程加强工具 · VBA代码随查随用 · 内置多项VBA编程加强工具 ★ 免费下载 ★ ★ 使用手册★
- =INT((SUMPRODUCT(MIDB($C$5:$C$10,FINDB("分",$C$5:$C$10)-2,2)*1)+SUMPRODUCT(IFERROR(MIDB($C$5:$C$10,IF(FINDB("小",$C$5:$C$10)=2,3,FINDB("小",$C$5:$C$10))-2,2),0)*1)*60+SUMPRODUCT(IFERROR(MIDB($C$5:$C$10,IF(FINDB("天",$C$5:$C$10)=2,3,FINDB("天",$C$5:$C$10))-2,2),0)*1)*1440)/1440)&"天"&INT(MOD((SUMPRODUCT(MIDB($C$5:$C$10,FINDB("分",$C$5:$C$10)-2,2)*1)+SUMPRODUCT(IFERROR(MIDB($C$5:$C$10,IF(FINDB("小",$C$5:$C$10)=2,3,FINDB("小",$C$5:$C$10))-2,2),0)*1)*60+SUMPRODUCT(IFERROR(MIDB($C$5:$C$10,IF(FINDB("天",$C$5:$C$10)=2,3,FINDB("天",$C$5:$C$10))-2,2),0)*1)*1440),1440)/60)&"小时"&MOD(MOD((SUMPRODUCT(MIDB($C$5:$C$10,FINDB("分",$C$5:$C$10)-2,2)*1)+SUMPRODUCT(IFERROR(MIDB($C$5:$C$10,IF(FINDB("小",$C$5:$C$10)=2,3,FINDB("小",$C$5:$C$10))-2,2),0)*1)*60+SUMPRODUCT(IFERROR(MIDB($C$5:$C$10,IF(FINDB("天",$C$5:$C$10)=2,3,FINDB("天",$C$5:$C$10))-2,2),0)*1)*1440),1440),60)&"分钟"
复制代码 |
|