+ Reply to Thread
Results 1 to 6 of 6

formatting phone numbers in excel

  1. #1
    Registered User
    Join Date
    05-20-2009
    Location
    British columbia
    MS-Off Ver
    Excel 2003
    Posts
    3

    formatting phone numbers in excel

    I am working with a spreadsheet that has phone numbers formatted like this (###) ###-#### but I would like them to be converted to this format ###-###-####. i have tried formatting the cells with a custom format of ###-###-#### but it does not chance the existing phone numbers like I need it to.
    Can you please help me with this?
    Last edited by NBVC; 05-21-2009 at 07:40 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: formatting phone numbers in excel

    When you click on the cell with a phone number in it.. what exactly appears in the formula bar at the top?
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    05-20-2009
    Location
    British columbia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: formatting phone numbers in excel

    it shows the phone number (123) 456-7890

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: formatting phone numbers in excel

    So then you can't use custom format since that is essentially a text string...

    If you select the column and go to Edit|Replace...then you can do it in 3 steps.

    Enter an opening parenthesis: ( in the the Find What field

    Don't enter anything in the Replace With field.

    Click Ok

    Re-invoke Edit|Replace and repeat with the closing parenthesis: ) in the Find What box.

    Re-invoke Edit|Replace again. Now enter a space in the Find What box (using Spacebar) and enter a dash: - in the Replace with Box. Click Ok.

    You should have your new format now (assuming consistency of original data).

  5. #5
    Registered User
    Join Date
    05-20-2009
    Location
    British columbia
    MS-Off Ver
    Excel 2003
    Posts
    3

    Smile Re: formatting phone numbers in excel

    Thank you that worked well.

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: formatting phone numbers in excel

    You are welcome,

    Can you please mark your thread as Solved.?

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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