View Single Post
  #7   Report Post  
Posted to microsoft.public.excel.misc
Peo Sjoblom[_3_] Peo Sjoblom[_3_] is offline
external usenet poster
 
Posts: 136
Default Need help triming a sentence

=TRIM(SUBSTITUTE(A1,"Specialty:",""))

--


Regards,


Peo Sjoblom


"Jim" wrote in message
...
This is a great formula, but some of my data have more than 20 characters.
Is there a formula that will trim the specialty: and leave the rest of the
data?



"Gary''s Student" wrote:

With your text in A1, use:

=RIGHT(A1,20)

--
Gary''s Student - gsnu200909


"Jim" wrote:

Hello:

I would like to trim the following:

Specialty: Allergy & Immunology

to show only:

Allergy & Immunology

What formula can I use for this?

Thanks