View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
macgru macgru is offline
external usenet poster
 
Posts: 20
Default Keep string without rightmost letters

if u have always productA, B, C etc why dont u try left(range;11)
mcg

Użytkownik "StumpedAgain" napisał w
wiadomości ...
I have a huge list of products that have different model types denoted by
letters at the end of the product i.e.
ProductA 5760tr
ProductA 5760xsn
etc.

I eventually want to do a vlookup but only have "ProductA 5760" in my data
to be pulled from. Can I get rid of all the letters after the numbers
even
if they're variable in length?

What I have:
ProductA 5760tr
ProductA 5760xsn
ProductB 7560tr

What I want:
ProductA 5760
ProductA 5760
ProductB 7560

Thanks for any help!
--
-SA