ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Need help triming a sentence (https://www.excelbanter.com/excel-discussion-misc-queries/249367-need-help-triming-sentence.html)

Jim

Need help triming a sentence
 
Hello:

I would like to trim the following:

Specialty: Allergy & Immunology

to show only:

Allergy & Immunology

What formula can I use for this?

Thanks

Gary''s Student

Need help triming a sentence
 
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


David Biddulph[_2_]

Need help triming a sentence
 
=RIGHT(A1,LEN(A1)-FIND(" ",A1))
--
David Biddulph


"Jim" wrote in message
...
Hello:

I would like to trim the following:

Specialty: Allergy & Immunology

to show only:

Allergy & Immunology

What formula can I use for this?

Thanks




Excel Nut

Need help triming a sentence
 
You don't HAVE to use a formula.

If you have multiple rows and you want to delete all the text up to an
including the colon and the space following the colon, simply select
the cells, press CTRL+H, Find "*: " (i.e. asterisk+colon+space) and
Replace All with blank. This assumes there is only one colon in each
cell.

Francis Hayes
www.TheExcelAddict.com


Jim

Need help triming a sentence
 
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


Peo Sjoblom[_3_]

Need help triming a sentence
 
=TRIM(SUBSTITUTE(A1,"Specialty:",""))

--


Regards,


Peo Sjoblom


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
=RIGHT(A1,LEN(A1)-FIND(" ",A1))
--
David Biddulph


"Jim" wrote in message
...
Hello:

I would like to trim the following:

Specialty: Allergy & Immunology

to show only:

Allergy & Immunology

What formula can I use for this?

Thanks






Peo Sjoblom[_3_]

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




Peo Sjoblom[_3_]

Need help triming a sentence
 
Oops! I thought I was able to cancel it but alas no

--


Regards,


Peo Sjoblom


"Peo Sjoblom" wrote in message
...
=TRIM(SUBSTITUTE(A1,"Specialty:",""))

--


Regards,


Peo Sjoblom


"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
=RIGHT(A1,LEN(A1)-FIND(" ",A1))
--
David Biddulph


"Jim" wrote in message
...
Hello:

I would like to trim the following:

Specialty: Allergy & Immunology

to show only:

Allergy & Immunology

What formula can I use for this?

Thanks








David Biddulph[_2_]

Need help triming a sentence
 
Earlier I suggested
=RIGHT(A1,LEN(A1)-FIND(" ",A1))
but it looks as if some news servers are not picking up all the messages.
--
David Biddulph

"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





All times are GMT +1. The time now is 12:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com