Stripping nubers from text in a cell
*Maybe* this:
Assuming the number is *always* at the beginning of the string and that
there are no other numbers in the string.
=TRIM(MID(A1,SUM(LEN(A1)-LEN(SUBSTITUTE(A1,{0,1,2,3,4,5,6,7,8,9},"")))+1,25 5))
--
Biff
Microsoft Excel MVP
"Dan S" wrote in message
...
I have a bunch of cell with varying lench that have numbers at the
beginning
(also of varying length. Ex:
1258 ahjKJ yuUIOI
45687045HJKoiuwER
I just want to extract the text from these cell. How do I do that?
Thanks,
Dan
|