+ Reply to Thread
Results 1 to 4 of 4

Remove Phone Number From String

  1. #1
    Registered User
    Join Date
    02-26-2016
    Location
    Monsey NY
    MS-Off Ver
    2012
    Posts
    15

    Remove Phone Number From String

    Is there a formula I can use to remove a telephone number from a string? I have a column of (999) 999-9999 - WIRELESS CALLER. But sometimes instead of wireless caller it says the person's name. (999) 999-9999 - DOE, JANE. I only want the phone number. I tried the Len command but because the right length wasn't always the same, sometimes the phone number got truncated.

    Please advise.
    Thanx

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Remove Phone Number From String

    I suggest kindly split the text & number from cell.
    Suppose your data in "A2"
    In "B2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    In "C2"
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Forum Guru
    Join Date
    04-23-2012
    Location
    New Jersey, USA
    MS-Off Ver
    Excel 365
    Posts
    2,410

    Re: Remove Phone Number From String

    Do your telephone numbers all have the same format (area code in parentheses, space, three digits, dash, four more digits) which is then followed by a space,dash,space? If so, this should work...

    =LEFT(A1,FIND(" - ",A1)-1)

  4. #4
    Registered User
    Join Date
    02-26-2016
    Location
    Monsey NY
    MS-Off Ver
    2012
    Posts
    15

    Re: Remove Phone Number From String

    Quote Originally Posted by Rick Rothstein View Post
    Do your telephone numbers all have the same format (area code in parentheses, space, three digits, dash, four more digits) which is then followed by a space,dash,space? If so, this should work...

    =LEFT(A1,FIND(" - ",A1)-1)
    Thanx tons!
    This was perfect!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Cross referencing a Name to a phone number embedded in a text string.
    By Peppysan in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-12-2019, 01:50 PM
  2. Phone number formatting - Remove all special character & space
    By Imrank in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-19-2018, 06:58 AM
  3. Remove phone number in cells that contains string and number
    By farisnaufghas in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-07-2018, 07:49 PM
  4. Detect and remove phone number in cells that contains string and number
    By farisnaufghas in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-07-2018, 05:34 PM
  5. Extract just a phone number from a string of text
    By oneblondebrow in forum Excel General
    Replies: 2
    Last Post: 11-09-2016, 10:49 AM
  6. [SOLVED] Phone number format - reference post (Formatting Textbox to type phone numbers only)
    By eddyrcabrera79 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-01-2015, 05:35 PM
  7. Replies: 9
    Last Post: 05-28-2014, 04:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1