#1   Report Post  
Posted to microsoft.public.excel.misc
Tim Tim is offline
external usenet poster
 
Posts: 408
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   Report Post  
Posted to microsoft.public.excel.misc
CM CM is offline
external usenet poster
 
Posts: 136
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
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.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Remove text

Or, editreplace
2007
homefind and selectreplacePhone: with nothing

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Don Guillett" wrote in message
...
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.





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

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
Text - Remove text Item No.99 (First 2 Chars) and move to end dplunkett Excel Discussion (Misc queries) 5 June 16th 09 04:26 PM
Easiest way to remove text from a cell that has text and numbers? [email protected] Excel Discussion (Misc queries) 2 August 17th 06 06:07 PM
Filter text in a column by its Indent, to remove certain text 99TZ250 Excel Discussion (Misc queries) 1 May 21st 06 08:53 AM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 09:56 PM
want to remove all text characters equal to one character in length from text string [email protected] Excel Worksheet Functions 1 April 18th 05 12:25 AM


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

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"