Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default change phone no. from ###-###-#### to (###) ###-####

I have phone numbers I exported into an Excel spreadsheet. When I reformat
the cell to a custom phone number format it doesn't change it. However if I
retype straight numbers it displays correctly. Is there a way to change from
###-###-#### to (###) ###-####? Thank you
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default change phone no. from ###-###-#### to (###) ###-####

The "numbers" you have are probably text values, so changing the
format of the cell will not affect how they appear. In an adjacent
helper column you could use this formula:

="("&LEFT(A1,3)&") "&RIGHT(A1,8)

and then copy this down as required.

Hope this helps.

Pete

On Jan 8, 12:14*am, KarinS wrote:
I have phone numbers I exported into an Excel spreadsheet. *When I reformat
the cell to a custom phone number format it doesn't change it. *However if I
retype straight numbers it displays correctly. *Is there a way to change from
###-###-#### to (###) ###-####? *Thank you


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default change phone no. from ###-###-#### to (###) ###-####


Use Excel's Search/Replace function to strip out the extra characters.

Highlight the entire column of phone numbers
First Search/Replace for ( and replace with nothing
Then Search/Replace for ) and replace with nothing
Then Search/Replace for - and replace with nothing.

When you finish that last Search/Replace, the cells should immediately
display in your custom Phone Number format, assuming you had applied
that format previously. If not, apply it now.

KarinS;172765 Wrote:
I have phone numbers I exported into an Excel spreadsheet. When I
reformat
the cell to a custom phone number format it doesn't change it. However
if I
retype straight numbers it displays correctly. Is there a way to
change from
###-###-#### to (###) ###-####? Thank you



--
JBeaucaire
------------------------------------------------------------------------
JBeaucaire's Profile: http://www.thecodecage.com/forumz/member.php?userid=73
View this thread: http://www.thecodecage.com/forumz/sh...ad.php?t=47848

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula to change Phone Number format pete5440 Excel Discussion (Misc queries) 7 April 5th 23 02:54 PM
Format change of phone number helpjim Excel Discussion (Misc queries) 7 May 18th 06 07:34 PM
How do I change phone numbers from "xxxxxxxxxx" to "xxx-xxx-xxxx Frank @ St. Louis Excel Worksheet Functions 1 July 24th 05 08:31 AM
change format for phone numbers automatically vms Excel Worksheet Functions 2 June 14th 05 11:08 PM
insert a space in a phone #. change (123)456-7890 to (123) 456-78 leo Excel Worksheet Functions 6 January 15th 05 01:57 AM


All times are GMT +1. The time now is 02:26 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"