A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Remove text



 
 
Thread Tools Display Modes
  #1  
Old October 6th, 2009, 08:56 PM posted to microsoft.public.excel.misc
Tim
external usenet poster
 
Posts: 780
Default Remove text

In 07, how do I remove text from a cell. Currently reads "Phone:
123-123-1234" and would like to remove the "Phone:" part. I tried
=RIGHT(M2,14) but some have extensions.
  #2  
Old October 6th, 2009, 09:00 PM posted to microsoft.public.excel.misc
CM
external usenet poster
 
Posts: 161
Default Remove text

Tim,

Assuming no space after the colon, use =mid(M2,7,25) to get only the phone
number. change the 7 to an 8 if there is a space after the colon
--
hope to help,
cm


"Tim" wrote:

In 07, how do I remove text from a cell. Currently reads "Phone:
123-123-1234" and would like to remove the "Phone:" part. I tried
=RIGHT(M2,14) but some have extensions.

  #3  
Old October 6th, 2009, 09:02 PM posted to microsoft.public.excel.misc
Don Guillett
external usenet poster
 
Posts: 6,167
Default Remove text

For a formula solution, look in the help index for SUBSTITUTE

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Tim" wrote in message
...
In 07, how do I remove text from a cell. Currently reads "Phone:
123-123-1234" and would like to remove the "Phone:" part. I tried
=RIGHT(M2,14) but some have extensions.


  #4  
Old October 6th, 2009, 09:05 PM posted to microsoft.public.excel.misc
Mike H
external usenet poster
 
Posts: 8,419
Default Remove text

Hi

=TRIM(RIGHT(M2,LEN(M2)-6))

the 6 assume Phone: or 6 characters

Mike

"Tim" wrote:

In 07, how do I remove text from a cell. Currently reads "Phone:
123-123-1234" and would like to remove the "Phone:" part. I tried
=RIGHT(M2,14) but some have extensions.

  #6  
Old November 14th, 2009, 10:14 AM posted to microsoft.public.excel.misc
om
external usenet poster
 
Posts: 23
Default Remove text

Hi Tim

Try Text to Column..in Office 2007 -
- Insert a new blank column after the column with phone numbers
- Select the entire column containing the phone numbers
- press Alt + D + E
- Delimited - Other - Colon (
- Finish
This will remove the word phone from the column.

Thanks
Om
"Tim" wrote:

In 07, how do I remove text from a cell. Currently reads "Phone:
123-123-1234" and would like to remove the "Phone:" part. I tried
=RIGHT(M2,14) but some have extensions.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:15 PM.


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