ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   convert phone format (https://www.excelbanter.com/excel-discussion-misc-queries/240214-convert-phone-format.html)

Rusty

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

Jacob Skaria

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


Rusty

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


Jacob Skaria

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



All times are GMT +1. The time now is 10:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com