I have received an Excel sheet with format time: 1 min 30 secs
.
How do I convert the field with string and integer format to numeric format like 90 in order to perform average?
I have received an Excel sheet with format time: 1 min 30 secs
.
How do I convert the field with string and integer format to numeric format like 90 in order to perform average?
Please try:
=LEFT(A1,FIND(" ",A1))*60+SUBSTITUTE(SUBSTITUTE(MID(A1,3,LEN(A1)),"min ","")," secs","")
have a look at this:
=TEXT("0:"&SUBSTITUTE(SUBSTITUTE(A1," min ",":")," sec",""),"[s]")