View Single Post
  #9   Report Post  
Posted to microsoft.public.excel.misc
mmmbl mmmbl is offline
external usenet poster
 
Posts: 12
Default Extract string from apha numeric fields

The formulas did work, I shifted some of the columns and I forgot to change
the second cell reference to match my cells.

Thank you for all the help

"mmmbl" wrote:

In answer to Don's did I get or extract the numbers
I used this formula that I found in here
=LOOKUP(9.99999999999999E+307,--MID(C16,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},C16&"0123 456789")),{1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}))


RobN was right when he said I need to extract the "z" etc into another column.
And this got me an #N/A
=LOOKUP(1E100,--MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"01234567 89")),ROW(INDIRECT("1:255"))))

Thank you!

"RobN" wrote:

Biff,

I think the person asking for a solution wants to have a formula that will
extract both 12 and Z from 12z, etc. Can that be done?

Rob

"T. Valko" wrote in message
...
A1 = 12z
B1 = 12
C1 formula:

=SUBSTITUTE(A1,B1,"")

--
Biff
Microsoft Excel MVP


"mmmbl" wrote in message
...
I have a column (named size) that has contains both numeric and unit of
measure. I have extracted the numbers into a field but how can i extract
the
unit of measure into another column? Example
ColA Col B Col C
12z = 12 z
12pk= 12 pk
1ct = 1 ct

Thank you!