+ Reply to Thread
Results 1 to 8 of 8

Phone Number - change format

  1. #1
    Registered User
    Join Date
    08-13-2020
    Location
    Woodbridge, NJ
    MS-Off Ver
    2016
    Posts
    6

    Phone Number - change format

    How do I change the format for an existing phone number: 555-555-5555 to be 15555555555? This would be adding "1" and removing "-" (dashes). What formula would I use?

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Phone Number - change format

    Hi & welcome to the board.
    How about
    =1&substitute(a2,"-","")

  3. #3
    Registered User
    Join Date
    08-13-2020
    Location
    Woodbridge, NJ
    MS-Off Ver
    2016
    Posts
    6

    Re: Phone Number - change format

    Thank you! Thank you! Thank you! It worked!!!!!!

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Phone Number - change format

    You're welcome & thanks for the feedback.

  5. #5
    Registered User
    Join Date
    08-13-2020
    Location
    Woodbridge, NJ
    MS-Off Ver
    2016
    Posts
    6

    Re: Phone Number - change format

    Ok. One more question.

    How do I change the format for an existing phone number, this time with parenthesis (555) 555-5555 to be 15555555555? This would be adding "1" and removing "-" (dashes) and removing parenthesis"()". What formula would I use?

  6. #6
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Phone Number - change format

    How about
    =1&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,") ",""),"-",""),"(","")

  7. #7
    Registered User
    Join Date
    08-13-2020
    Location
    Woodbridge, NJ
    MS-Off Ver
    2016
    Posts
    6

    Re: Phone Number - change format

    Thank you so much! You're the best!!!

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,080

    Re: Phone Number - change format

    Glad to help & thanks for the feedback.

+ 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] Change Phone Number With International Dial Code Back To UK Format
    By RedMacLeod in forum Excel General
    Replies: 2
    Last Post: 04-18-2018, 09:06 AM
  2. [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
  3. [SOLVED] Change the phone number format to unique
    By sjpras in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-11-2015, 04:47 AM
  4. [SOLVED] How do I change this from the US Phone number to a UK phone number
    By umararif1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-15-2014, 02:20 PM
  5. Change Phone number format
    By genefalk1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-26-2014, 10:43 PM
  6. Phone Format - change value.
    By jreimer in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-23-2008, 03:03 PM
  7. Format change of phone number
    By helpjim in forum Excel General
    Replies: 7
    Last Post: 05-18-2006, 02:34 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