Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a large number of cells that contain time duration in the form:

41m 9s

How do I convert the duration into seconds, and then replace the old value of the cell with the converted value ?

I attempted using the following formula for the minutes part:

=LEFT(CELL, FIND("m", J8,1) - 1)*60


share|improve this question

1 Answer 1

up vote 0 down vote accepted

i imagine something like this should work. change the A1 references to where ever your data is

=(LEFT(A1, FIND("m", A1,1) - 1)*60)+(LEFT(RIGHT(A1,LEN(A1)-FIND(" ",A1,1)),FIND("s",A1,1)-FIND(" ",A1,1)-1))
share|improve this answer
Thank you, works nicely ! –  alhazen Nov 29 '10 at 21:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.