Skip to main content

Clean and reformat telephone numbers in Excel

Supposing, you have a list of telephone numbers which are formatted with various formatting, now, you want to clean up all the phone number formatting and reformat them with a specific formatting as below screenshot shown. This article, I will talk about how to deal with this job in Excel by using a formula.


Clean and reformat telephone numbers in Excel with SUBSTITUTE function

To clean up all the phone numbers formatting, the SUBSTITUTE function can help you to replace the unwanted characters (hyphens, periods and parentheses) with empty string. The generic syntax is:

=SUBSTITUTE(text, old_text, new_text, [instance_num])
  • text: The text string containing the character or text you want to replace;
  • old_text: The text that you want to replace;
  • new_text: The text you want to replace with;
  • instance_num: Optional. Specifies which occurrence of old_text you want to replace. If omitted, all instances are replaced.

1. Please apply the following formula into a blank cell where you want to get the result:

=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"-",""),".",""),"(",""),")","")," ","")+0

2. Then, drag the fill handle down to the cells where to apply this formula, and all the phone number formatting has been cleaned up immediately, see screenshot:

3. Then, please copy the formula cells and paste them into another location as values.

4. And then, select the pasted cells, press Ctrl + 1 keys to open the Format Cells dialog box, in this dialog, under the Number tab, select Custom option from the left Category pane, and then type the phone number formatting as you need into the Type text box, in this example, I will enter this format: (###) ###-####, see screenshot:

5. Then, click OK button, and now, the new phone number format has been applied to the numbers, see screenshot:


Explanation of the formula:

In the above formula, there is a combination of five SUBSTITUTE functions, the additional “+0” at the end of the formula is used to convert the telephone numbers into number format. You can write the formula as below screenshot shown, with this format, you can add other or remove the substitutions easily.


Clean and reformat telephone numbers in Excel with a handy feature

If you are not familar with the SUBSTITUTE function, to remove all unneeded characters from the phone numbers, you can apply the Kutools for Excel's Remove Characters feature,with this feature, you can remove numeric, alphabetic, non-printable or alphanumeric characters from text strings with only several clicks. Click to download Kutools for Excel for free trial!


Relative function used:

  • SUBSTITUTE:
  • The SUBSTITUTE function replaces text or characters within a text string with another text or characters.

More articles:

  • Convert numbers to text in Excel
  • Maybe, there are several methods for converting the numbers to text format in Excel worksheet, but, in this article, I will introduce some functions for deal with this task.
  • Convert text to number in Excel
  • The numbers stored as text format can not be calculated normally in Excel, in this case, you should convert the text to general number. This article, I will talk about some functions for dealing with this job in Excel.
  • Compare two or more text strings in Excel
  • If you want to compare two or more text strings in a worksheet with case sensitive or not case sensitive as following screenshot shown, this article, I will talk about some useful formulas for you to deal with this task in Excel.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (3)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
I need to change my phone number of my nin
This comment was minimized by the moderator on the site
Nigeria suger mummy and the phone number
This comment was minimized by the moderator on the site
9144433322 this number chageing my phone number how to creat
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations