Convert String To Time Duration In Excel [duplicat

2019-09-20 06:01发布

This question already has an answer here:

May I know the way to convert "1 h 49 m 57 s" to 1:49:57 in Excel. enter image description here Thanks in advance

标签: excel
1条回答
劳资没心,怎么记你
2楼-- · 2019-09-20 06:23

You can use this formula to replace letters to colons then convert text to value:
=VALUE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A5," h ",":")," m ",":")," s",""))

After inserting the formula set the cell's number format to "time".

查看更多
登录 后发表回答