0

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?

pnuts
  • 58,317
  • 11
  • 87
  • 139

2 Answers2

1

Please try:

=LEFT(A1,FIND(" ",A1))*60+SUBSTITUTE(SUBSTITUTE(MID(A1,3,LEN(A1)),"min ","")," secs","")
pnuts
  • 58,317
  • 11
  • 87
  • 139
0

have a look at this:

=TEXT("0:"&SUBSTITUTE(SUBSTITUTE(A1," min ",":")," sec",""),"[s]")
Dirk Reichel
  • 7,989
  • 1
  • 15
  • 31