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
214 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

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 …
This article will show you how to use shortcut menus in the Access run-time environment.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

774 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