How do I create a phone number format with only dashes and numbers

Anonymous
2018-11-14T14:48:05+00:00

I am trying to create a phone number format with only numbers and dashes.  I have a file with phone numbers formatted as (###) ###-####.  I want to reformat to ###-###-####.  I tried and the attached screen shot does not work.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. Jim G 134K Reputation points MVP Volunteer Moderator
    2018-11-17T15:58:44+00:00

    This is so simple to do. No macros are needed.

    In the column next to the column you want to format, enter the phone number in the desired format and press return. Then press Control-e to invoke Flash Fill. The column will fill with the proper formatting.

    7 people found this answer helpful.
    0 comments No comments

16 additional answers

Sort by: Most helpful
  1. Anonymous
    2018-11-14T21:27:20+00:00

    I did and nothing changes.  I

    f I format an empty cell as ###-###-#### and manually type in the numbers, it formats correctly.  But I am unable to reformat a cell.

    0 comments No comments
  2. Anonymous
    2018-11-14T21:40:05+00:00

    Jim,

    If you can, share a sample workbook on onedrive.live.com

    Bernie

    0 comments No comments
  3. Anonymous
    2018-11-14T21:56:49+00:00

    OK - I am logged into OneDrive.  I don't see how to share my workbook.

    0 comments No comments
  4. Anonymous
    2018-11-14T22:41:13+00:00

    Upload your file, then find it and click the radio button next to it.  The top menu will change to include a "Share" option. You will be able to then create a link, copy the link, and paste it in a message.

    0 comments No comments