Solved

How do I convert a cell that has a value with its unit of measure to a number only

Posted on 2011-03-17
2
218 Views
Last Modified: 2012-06-27
I have a field that has a number with it's unit. In this case it happens to be ping times so the value in the cell is "89 ms"

How do I convert "89 ms" to be a real number with a value of "89"

I know thise should be dead simple, but I'm not a VBA guy, and I cant find a built in function to do this.

I'm using Excel 2010

Thank you.
0
Comment
Question by:jnbkze
[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
2 Comments
 
LVL 81

Accepted Solution

by:
zorvek (Kevin Jones) earned 125 total points
ID: 35160524
=VALUE(SUBSTITUTE(A1," ms",""))

Kevin
0
 
LVL 3

Author Closing Comment

by:jnbkze
ID: 35160578
Perfect. I'm sure there's tons of ways to do this, but your solution worked exactly as I needed it to. Thank you.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

726 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