Phone Number Format Changes

rehsas

New Member
Joined
Jan 1, 2009
Messages
1
I have phone numbers entered in the (222) 333-4444 format and need to change them to the 222-333-4444 format. Is there a Find/Replace or other formula that can accomplish this? If so, please provide an example. Thx!
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
I'm sure you can do ") " to "-" find /replace, then "(" to ""

test it one at a time, for the first few then use replace all

speech marks are for emphasis and not required
 
Upvote 0
This will work for data in Column A:
Code:
Sub Test1()
Dim Rng As Range
Set Rng = Range("A:A")
Rng.Replace What:="(", Replacement:=""
Rng.Replace What:=") ", Replacement:="-"
End Sub
 
Upvote 0
I have phone numbers entered in the (222) 333-4444 format and need to change them to the 222-333-4444 format. Is there a Find/Replace or other formula that can accomplish this? If so, please provide an example. Thx!
rehsas

Welcome to the MrExcel board!

You have suggestions for a manual method and a vba method. To round it out, here is a formula method. Formula is copied down.

Excel Workbook
AB
1(222) 333-4444222-333-4444
2(323) 569-6588323-569-6588
Phone Numbers
 
Upvote 0

Forum statistics

Threads
1,214,652
Messages
6,120,746
Members
448,989
Latest member
mariah3

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