Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
up vote 1 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.