View Single Post
  #2  
Old June 4th, 2010, 07:55 PM posted to microsoft.public.excel.misc
T. Valko
external usenet poster
 
Posts: 15,759
Default Text Parsing with uneven lengths

Try this:

=--TRIM(RIGHT(SUBSTITUTE(A1," ",REPT(" ",100)),100))


--
Biff
Microsoft Excel MVP


"dks345" wrote in message
...
I have cells that contain data such as:

General Motors 22779
United States of America 1449
Carlsbad 712
Under 21 Children 12

I would like to parse the numbers at the end of each cell. Each number
can
be different lengths and the text preceding the number can be different
lengths, too. Any ideas?