Need to format telephone numbers into 10 digit number only.

tamwink

New Member
Joined
Dec 19, 2019
Messages
11
Office Version
  1. 365
Platform
  1. Windows
How do I remove the country codes, hyphens, and "+1" from a column of data?
All information appreciated.
 
With a formula
Book1
ABCDE
1CITYSTATEPHONE
2WhitingNJ‭+1 (704) 806-35067048063506
3Kendall ParkNJ024 0608 85882406088588
4Kendall ParkNJ030 377 1554303771554
5Kendall ParkNJ06-687 588866875888
6Kendall ParkNJ0757 71921697577192169
7LakewoodNJ08503 8102218503810221
8LakewoodNJ0910 830 39999108303999
9LakewoodNJ0917 535 90289175359028
10LakewoodNJ0929 035 61049290356104
11WhitingNJ095 935 6565959356565
12WhitingNJ1 512 473-23055124732305
13WhitingNJ1 585-258-36965852583696
14WhitingNJ1-(626) 539-05486265390548
15BeaufortSCp:+1(602) 70542826027054282
16AllendaleSCp:+1(612) 750-92736127509273
17SumterSCp:+1(770) 362-20007703622000
18AtlantaGAp:+1(979) 665-50529796655052
19AtlantaGAp:+1175792090037579209003
20AtlantaGAp:+1180147272518014727251
21Salt Lake CityUT954 793-10739547931073
22Salt Lake CityUT954 805-06089548050608
23West Valley CityUT954 805-62959548056295
24DraperUT954 805-71079548057107
25s.l.c.UT954 812-98499548129849
26Salt Lake CityUT954 815-48789548154878
27VernalUT954 815-57739548155773
28Salt Lake CityUT954 817-79599548177959
29Salt Lake CityUT954 821-37959548213795
30BountifulUT954 821-44849548214484
Mon
Cell Formulas
RangeFormula
E2:E30E2=RIGHT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(D2,",",""),"-",""),"(",""),")","")," ",""),10)
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Glad we could help & thanks for the feedback
 
Upvote 0
You could instead select the column and use find and replace ...
 
Upvote 0

Forum statistics

Threads
1,223,670
Messages
6,173,722
Members
452,529
Latest member
jpaxonreyes

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