+ Reply to Thread
Results 1 to 2 of 2

Excel 2007 : Formatting Phone numbers

  1. #1
    Registered User
    Join Date
    09-09-2009
    Location
    California, USA
    MS-Off Ver
    Excel 2007
    Posts
    5

    Formatting Phone numbers

    I need to do an upload and the format of our phone numbers needs to be 999-999-9999

    Right now they are all
    (999)999-9999

    How can I change the phone numbers to look like 999-999-9999
    on my spreadsheet I am working on the the phone numbers start on AV595 and go to AV795

    Also some of the phone numbers are missing the area code the just look like 999-9999 how can I add in an area code to look like 999-999-9999

    this starts on the spreadsheet at AV6 and goes to AV594


    Let me know if you need more info.

    Thank you!

  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 a free cell in the same row, enter

    =IF(ISNUMBER(SEARCH("(",AV6)),REPLACE(REPLACE(AV6,1,1,""),4,1,"-"),"999-"&AV6)

    replacing 999 with actual area code and assumes same area code for all.

    and copy all the way down to row 795.

    Then copy this range containing the formula and go to AV6 and then right-click and select PAste Special and select Values.. click Finish,

    Then delete the column you added with formulas.
    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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