#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 46
Default convert phone format

I need to convert my data base list of phone numbers after exporting them to
excel. they land in the following format 123-456-7891. I need a formula that
will add a "1" to the front and carry the balance without the "-". The result
need to be a string that looks like this 11234567891. Is this possible?
--
rustyrunrite
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default convert phone format

With your number in cell A1 try the below formula

="1" & SUBSTITUTE(A1,"-",)

If this post helps click Yes
---------------
Jacob Skaria


"Rusty" wrote:

I need to convert my data base list of phone numbers after exporting them to
excel. they land in the following format 123-456-7891. I need a formula that
will add a "1" to the front and carry the balance without the "-". The result
need to be a string that looks like this 11234567891. Is this possible?
--
rustyrunrite

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 46
Default convert phone format

Comes close, but I need all "-" removed?
--
rustyrunrite


"Jacob Skaria" wrote:

With your number in cell A1 try the below formula

="1" & SUBSTITUTE(A1,"-",)

If this post helps click Yes
---------------
Jacob Skaria


"Rusty" wrote:

I need to convert my data base list of phone numbers after exporting them to
excel. they land in the following format 123-456-7891. I need a formula that
will add a "1" to the front and carry the balance without the "-". The result
need to be a string that looks like this 11234567891. Is this possible?
--
rustyrunrite

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default convert phone format

The - must be a custom format.

Select the cellsRight clickFormat Cellsselect Customand type #

If this post helps click Yes
---------------
Jacob Skaria


"Rusty" wrote:

Comes close, but I need all "-" removed?
--
rustyrunrite


"Jacob Skaria" wrote:

With your number in cell A1 try the below formula

="1" & SUBSTITUTE(A1,"-",)

If this post helps click Yes
---------------
Jacob Skaria


"Rusty" wrote:

I need to convert my data base list of phone numbers after exporting them to
excel. they land in the following format 123-456-7891. I need a formula that
will add a "1" to the front and carry the balance without the "-". The result
need to be a string that looks like this 11234567891. Is this possible?
--
rustyrunrite

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
convert phone number andrewm Excel Discussion (Misc queries) 4 January 18th 09 10:22 PM
Here we are with the phone numbers again. I need to convert Cody Kid Excel Worksheet Functions 7 February 27th 08 07:22 PM
Convert phone to *** manjunath Excel Worksheet Functions 2 March 30th 07 03:02 AM
how do I add phone number format as a permanent custom format? frustratedagain Excel Discussion (Misc queries) 3 February 4th 06 03:52 AM
How to convert phone area-code to state name and time zone NoYouShmoopie Excel Discussion (Misc queries) 2 October 7th 05 02:38 PM


All times are GMT +1. The time now is 12:53 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"