Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
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
Medium Priority
?
224 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 500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Microsoft has changed the look and feel of Azure AD and Microsoft account sign-in pages so that you will have a more unified look and feel when moving between the two interfaces.
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…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

609 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