+ Reply to Thread
Results 1 to 6 of 6

Thread: phone number

  1. #1
    Registered User
    Join Date
    09-02-2009
    Location
    concord, ontario
    MS-Off Ver
    Excel 2003
    Posts
    6

    phone number

    I have phone number is a cell ???-???-????, I need it to look like this (???)???-????. I have tried, but I can not seem to get rid of the 1st hyphen.
    Last edited by domvar22; 09-04-2009 at 08:59 AM.

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007, 2010
    Posts
    25,773

    Re: phone number

    Use Find and Replace to delete all hyphens, and then Format > Cells > Number, Special, Phone Number
    Last edited by shg; 09-03-2009 at 04:45 PM.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: phone number

    Try:

    ="("&REPLACE(A1,4,1,")")

    where A1 contains original number.

    You can then copy this column and go to original column, and then Edit|Paste Special and select Values.... then delete the helper column of formulas
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  4. #4
    Registered User
    Join Date
    09-02-2009
    Location
    concord, ontario
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: phone number

    sorry, rookie mistake, i need it for a group of cells.

  5. #5
    Registered User
    Join Date
    09-02-2009
    Location
    concord, ontario
    MS-Off Ver
    Excel 2003
    Posts
    6

    Re: phone number

    Awesome NBVC, Just what I needed. thank you

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

    Re: phone number

    If you are satisfied with the solution(s) provided, 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
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

+ 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.2.0