A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Changing the format of a phone number



 
 
Thread Tools Display Modes
  #1  
Old October 12th, 2008, 01:35 AM posted to microsoft.public.excel.worksheet.functions
SCR
external usenet poster
 
Posts: 8
Default Changing the format of a phone number

Spreadsheet A has the phone number in one cell formatted like:

(123) 456-7890

Spreadsheet B has the phone number separated in three separate columns like:

123 456 7890

I used the CONCANTENATE function to string the text together, but if the
phone number has a 0 starting the group it isn't showing up in my new cell.
What am I doing wrong? See below:
Phone
(360) 929-2001 360 929 2001
(425) 971-9043 425 971 9043
(360) 929-2001 360 929 2001
(253) 720-5735 253 720 5735
(111) 222-1234 111 222 1234
(541) 410-45 541 410 0045
(208) 438-5296 208 438 5296
(541) 689-143 541 689 0143
(360) 253-2131 360 253 2131
(360) 253-2131 360 253 2131
(480) 981-3941 480 981 3941
(480) 981-3941 480 981 3941
(217) 257-8406 217 257 8406
(602) 997-6349 602 997 6349
(602) 997-6349 602 997 6349
(602) 997-6349 602 997 6349
(111) 222-1234 111 222 1234
(520) 297-8855 520 297 8855
(303) 741-4568 303 741 4568
(801) 566-8844 801 566 8844
(801) 566-8844 801 566 8844
(720) 837-929 720 837 0929


  #2  
Old October 12th, 2008, 01:43 AM posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
external usenet poster
 
Posts: 3,232
Default Changing the format of a phone number

=TEXT(A2,"000")&" "&TEXT(B2,"000")&"-"&TEXT(C2,"0000")


replace the cell reference with the real one you are using

No need to use the CONCATENATE function if that's what you are doing, the
ampersand works the same way



--


Regards,


Peo Sjoblom



"scr" wrote in message
...
Spreadsheet A has the phone number in one cell formatted like:

(123) 456-7890

Spreadsheet B has the phone number separated in three separate columns
like:

123 456 7890

I used the CONCANTENATE function to string the text together, but if the
phone number has a 0 starting the group it isn't showing up in my new
cell.
What am I doing wrong? See below:
Phone
(360) 929-2001 360 929 2001
(425) 971-9043 425 971 9043
(360) 929-2001 360 929 2001
(253) 720-5735 253 720 5735
(111) 222-1234 111 222 1234
(541) 410-45 541 410 0045
(208) 438-5296 208 438 5296
(541) 689-143 541 689 0143
(360) 253-2131 360 253 2131
(360) 253-2131 360 253 2131
(480) 981-3941 480 981 3941
(480) 981-3941 480 981 3941
(217) 257-8406 217 257 8406
(602) 997-6349 602 997 6349
(602) 997-6349 602 997 6349
(602) 997-6349 602 997 6349
(111) 222-1234 111 222 1234
(520) 297-8855 520 297 8855
(303) 741-4568 303 741 4568
(801) 566-8844 801 566 8844
(801) 566-8844 801 566 8844
(720) 837-929 720 837 0929




  #3  
Old October 13th, 2008, 12:22 AM posted to microsoft.public.excel.worksheet.functions
SCR
external usenet poster
 
Posts: 8
Default Changing the format of a phone number

Thank you!

"scr" wrote:

Spreadsheet A has the phone number in one cell formatted like:

(123) 456-7890

Spreadsheet B has the phone number separated in three separate columns like:

123 456 7890

I used the CONCANTENATE function to string the text together, but if the
phone number has a 0 starting the group it isn't showing up in my new cell.
What am I doing wrong? See below:
Phone
(360) 929-2001 360 929 2001
(425) 971-9043 425 971 9043
(360) 929-2001 360 929 2001
(253) 720-5735 253 720 5735
(111) 222-1234 111 222 1234
(541) 410-45 541 410 0045
(208) 438-5296 208 438 5296
(541) 689-143 541 689 0143
(360) 253-2131 360 253 2131
(360) 253-2131 360 253 2131
(480) 981-3941 480 981 3941
(480) 981-3941 480 981 3941
(217) 257-8406 217 257 8406
(602) 997-6349 602 997 6349
(602) 997-6349 602 997 6349
(602) 997-6349 602 997 6349
(111) 222-1234 111 222 1234
(520) 297-8855 520 297 8855
(303) 741-4568 303 741 4568
(801) 566-8844 801 566 8844
(801) 566-8844 801 566 8844
(720) 837-929 720 837 0929


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 08:05 AM.


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