此公式会将其转换为时间。我尽可能使其动态化:
=TIME(IFERROR(MID(A1,SEARCH("h",A1)-MIN(SEARCH("h",A1),3)+1,MIN(SEARCH("h",A1),3)-1),0),IFERROR(MID(A1,SEARCH("m",A1)-MIN(SEARCH("m",A1),3)+1,MIN(SEARCH("m",A1),3)-1),0),IFERROR(MID(A1,SEARCH("s",A1)-MIN(SEARCH("s",A1),3)+1,MIN(SEARCH("s",A1),3)-1),0))
![![在此处输入图片描述](https://i.stack.imgur.com/XzsVZ.png)