Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 09-15-2014, 08:36 AM
Carchee Carchee is offline Search a cell that contains words and numbers and convert the numbers to metric Windows 7 64bit Search a cell that contains words and numbers and convert the numbers to metric Office 2007
Advanced Beginner
Search a cell that contains words and numbers and convert the numbers to metric
 
Join Date: Dec 2013
Posts: 46
Carchee is on a distinguished road
Default

Thank you Paul, I'll see what I can do with this code. It should be enough to figure some stuff out.

excelledsoftware: There are certain formulas that I'll be using to convert but I can just insert them into code easily.

The hard part is that the cell contains more that one set of numbers and I would like to convert both sets. If you look at the attached excel sheet from my first post you can see that I have 233 GPM @ 65'. So I would be converting GPM (gallon per minute) to CMH (cubic meters per hour) and convert the 65 feet to meters. Also The GPM will fluctuate quite often and have different amount of digits if that makes sense.
The right side of the cell will never change, the only thing that will change are the numbers, so my thought was to use something like this
Code:
=(RIGHT(A3,SEARCH("GPM",A3)-1))
or like this
Code:
=1*MID(A1,MATCH(TRUE,ISNUMBER(1*MID(A1,ROW($1:$9),1)),0),COUNT(1*MID(A1,ROW($1:$9),1)))
But I can't get the previous code to work either.

I'll also be converting from inches to mm, in the text a " symbol is used for inches, so I would search for " and convert the number to mm, sometimes there are two " lengths in the same cell that I would convert

I would also like to add parenthesis to the original text (look at my attached sheet for clarification

This is a lot to do and I'm just starting out so it might take me a little bit. I am happy to hear that it is possible. Thanks for your help. Let me know if I can clear things up.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Words in my document were converted to numbers???? MikeD23 Word 1 08-26-2012 11:09 AM
can word convert numbers? koolfire Word 2 01-07-2012 02:12 PM
Search a cell that contains words and numbers and convert the numbers to metric Convert numbers to a specific text string francis Excel 1 10-06-2011 01:43 PM
Numbers in Words janak Excel 2 12-19-2010 08:53 PM
Numbers Convert in word in MS Access towhid Office 0 08-19-2010 01:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:07 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft