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-14T17:40:56+00:00

    I don't see any extra characters.  I formatted the cells with parens as numbers but no joy.  I 1,700 records to reformat to ###-###-####.

    0 comments No comments
  2. Anonymous
    2018-11-14T18:09:12+00:00

    if you have a column of Phone Numbers then select the Column Header (A, B, C, D and so on)  then, apply the formatting as explained. 

    __________

    Disclaimer:

    The questions, discussions, opinions, replies & answers I create, are solely mine and mine alone and do not reflect upon my position as a Volunteer Moderator.

    0 comments No comments
  3. Anonymous
    2018-11-14T18:19:11+00:00

    I did select the entire column nothing reformats.

    I selecte individual cells and none reformats.

    Very strange.

    0 comments No comments
  4. Anonymous
    2018-11-14T20:17:03+00:00

    I notice that in your last screenshot is properly formatted, according to what you want.

    can you click the cell correctly formatted? Then open the one below that is?  and tell what the difference is.

    You might try clicking into cell formatted correctly. The double-click on it to select format and stay lock then drag down, until the last item, then click again when finished.  should change the format.

    __________

    Disclaimer:

    The questions, discussions, opinions, replies & answers I create, are solely mine and mine alone and do not reflect upon my position as a Volunteer Moderator.

    0 comments No comments