Solved

Convert Items in Excel Cells to Numbers

Posted on 2011-03-06
6
339 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:cpatte7372
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 500 total points
ID: 35046297
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
 
LVL 43

Expert Comment

by:Saqib Husain, Syed
ID: 35046301
=LEFT(A1,FIND("m",A1)-1)*60+SUBSTITUTE(RIGHT(A1,3),"s","")
0
 
LVL 24

Expert Comment

by:jimyX
ID: 35046316
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
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 
LVL 24

Expert Comment

by:jimyX
ID: 35046446
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 Closing Comment

by:cpatte7372
ID: 35046597
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
 
LVL 6

Expert Comment

by:ckivml
ID: 35046669
Great buddy!..keep it up!..
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question