Phone # w/Letter formatting

jillrussell

New Member
Joined
Jul 21, 2008
Messages
8
I have a spreadsheet of 138 phone #'s (including area codes).

About 10 of the #'s have a letter in them (i.e. 734-R42-7422) (and no, I can't just change the R to "7" - that would be too easy):rolleyes:

Obviously, since they have both text and numerical characters, they won't format properly as phone numbers.

Does anyone know how can I format them to show as phone #'s ?
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
I'm not totally following, you want the ones w/ text to show up as....what?


You want:

734-R42-7422

to result as:
734-R42-7422
or
734-742-7422
 
Upvote 0
In the cell next to it, put the following, assuming your first entry is in A1:

="(" & left(A1,3) & ") " & right(A1,8)
 
Upvote 0
It works great, except I need the dash after the first three digits of the phone #.

It gives me

(734) 4211234

I need
(734) 421-1234

Many thanks :)
 
Upvote 0
="(" & Left(A1,3) & ") " & mid(A1,5,3) & "-" & right(A1,4)
 
Upvote 0

Forum statistics

Threads
1,214,376
Messages
6,119,181
Members
448,871
Latest member
hengshankouniuniu

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