Reputation: 31
I have run several commands and noted time taken by a command?
I got output like this in an excel column
126m52.091
136m14.472s
152m25.196s
65m45.490s
how can i convert this mixture of minutes and seconds into seconds in excel?
Results should be like this
7612.091
8174.472
...
Having an excel formula will really help me.
Thanks in advance
Upvotes: 0
Views: 53
Reputation: 96791
With data in A1, use:
=TIMEVALUE("00:" & SUBSTITUTE(SUBSTITUTE(A1,"s",""),"m",":"))*60*60*24
NOTE:
Upvotes: 3