Formula Request for Phone Number Formatting

claybwagner28

Board Regular
Joined
Sep 25, 2014
Messages
68
Office Version
  1. 365
Platform
  1. Windows
Hello,
I received a list of phoje numbers from a vendor in the following format: +1 (615) 555-5555. I would like to convert the phone numbers to 615-555-5555, removing the +1,(), and spaces.
I tried using SUBSTITUTE but I can't quite get it correct.
Any help would be appreciated.
Thanks!
Clay
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
How about
-.xlsm
AB
5+1 (615) 555-5555615-555-5555
Data
Cell Formulas
RangeFormula
B5B5=SUBSTITUTE(REPLACE(A5,1,FIND("(",A5),""),") ","-")
 
Upvote 1
Book1
AB
1+1 (615) 555-5555615-555-5555
Sheet7
Cell Formulas
RangeFormula
B1B1=TEXTJOIN("-",,DROP(TEXTSPLIT(A1,{"(";") "}),,1))
 
Upvote 1
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,160
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top