Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default 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



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default 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

  #5   Report Post  
Posted to microsoft.public.excel.misc
Jim Jim is offline
external usenet poster
 
Posts: 615
Default 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



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default 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





  #7   Report Post  
Posted to microsoft.public.excel.misc
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



  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 136
Default 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







  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default 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



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sentence Case Alex Excel Discussion (Misc queries) 2 August 21st 08 09:45 PM
Triming a number Keith Excel Worksheet Functions 1 February 2nd 07 04:41 PM
adjacent to a specific sentence Pivotrend Excel Discussion (Misc queries) 1 February 8th 06 01:35 AM
Two different colors in one sentence Jenn New Users to Excel 2 November 17th 05 07:14 PM
Triming the fat off my sheets... Neal Excel Discussion (Misc queries) 1 December 30th 04 06:55 PM


All times are GMT +1. The time now is 06:57 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"