Format Telephone Numbers

trevorbranton

New Member
Joined
Apr 8, 2010
Messages
3
Hi All

First of all, if this has already been posted and resolved, SORRY!. I could not find it when searching.

My question is quite simple, yet, I cant find an answer/solution as yet.

I wish to enter a phone number in to excel (using 2007 version) in the following way, (01234) 456789 (5 digits for area code and 6 digits for number) - I have figured out that the format to use is something like '(0####)_######'

However some locations where I live still have a 5 digit phone number and therefore I will need to have the facility to have a number like (01234) 56789 (5 digits for area code and 5 digits for number)

My problem is that what ever combination of codes I try, I end up with a mess Its the occasional 10 digit combination is the route of the problem and would love to see if I can overcome this. :eek:

Any suggestions or help would be greatly appreciated.

Thanks
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).
Hi, welcome to the board.
Do you need to do this via formating, or is it an option to resolve it using text formulas ?
Also, it might help to give some examples of what the source data actually looks like, for both examples.
 
Upvote 0
Hi and welcome to the board!

Try the following custom number format:

[<1000000000](0#####) #####;[>=1000000000](0#####) ######;""
 
Upvote 0
I dont mind - its just a data base I use for keeping my client info in, but I want the info to be shown correctly

How I want the numbers to be shown is:

(01234) 123456 & if a 10 digit number (01234) 12345

Does this help?
 
Upvote 0
Did you see my suggestion? Here's a sample:
Excel Workbook
AB
1FormattedUnformatted
2(01234) 4567891234456789
3(01234) 56789123456789
...
Excel 2003
 
Upvote 0

Forum statistics

Threads
1,214,522
Messages
6,120,020
Members
448,939
Latest member
Leon Leenders

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