Formula Request for Phone Number Formatting

claybwagner28

Board Regular
Joined
Sep 25, 2014
Messages
67
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

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
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,214,829
Messages
6,121,826
Members
449,051
Latest member
excelquestion515

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