# Convert Items in Excel Cells to Numbers

Hi Experts,

Can tell me if its possible to convert the items in cells (in the attached spreadsheet) to numbers? Let me explain.

Each cell contains the minutes and seconds for my vodafone bill. I would like help converting the minutes and seconds into just seconds. So far example you'll see in cell A54, 19m 13s. I would like that converted to 1153 seconds.

If it makes it easier for you to help me I don't need the letter s (seconds) after the conversion.

As always experts, I appreciate your help

Cheers

Carlton
remove-items.xls
###### Who is Participating?

x

Commented:
Hello Carlton,

Try putting this formula in B1

=("0:"&SUBSTITUTE(SUBSTITUTE(A1,"m ",":"),"s",""))*86400

....then format the cell as general and copy down

see attached

regards, barry
time-conversion.xls
0

EngineerCommented:
=LEFT(A1,FIND("m",A1)-1)*60+SUBSTITUTE(RIGHT(A1,3),"s","")
0

Commented:
Start from B1 put:
=(LEFT(A1,FIND("m",A1)-1)*60)+MID(A1,FIND("m",A1)+1,FIND("s",A1)-FIND("m",A1)-1)

And copy down for the rest of the cells.
0

Commented:
If you want to include "s" at the end of that value:
=(LEFT(A1,FIND("m",A1)-1)*60)+MID(A1,FIND("m",A1)+1,FIND("s",A1)-FIND("m",A1)-1) & " s"
0

Author Commented:
Thanks, that's great. I honestly didn't think anyone was going to respond as I thought it was such a silly request.
Thanks again.
0

Commented:
Great buddy!..keep it up!..
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.