Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
maximus73
 
Posts: n/a
Default breaking up a phone number


I need to break up a phone number into three different columns. I have
column A that contains the phone number xxx-xxx-xxxx, I need to split
that up into three different columns. Column B would equal the area
code... column C would equal the Prefix.. and column D would equal the
digits..

any suggestions on how to accomplish this?

thanks


--
maximus73
------------------------------------------------------------------------
maximus73's Profile: http://www.excelforum.com/member.php...o&userid=25877
View this thread: http://www.excelforum.com/showthread...hreadid=392593

  #2   Report Post  
William Horton
 
Posts: n/a
Default

Column A contains the phone # in the format XXX-XXX-XXXX
Column B =LEFT(A12,3)
Column C =MID(A12,5,3)
Column D =RIGHT(A12,4)

Hope this helps.

Thanks,
Bill Horton

"maximus73" wrote:


I need to break up a phone number into three different columns. I have
column A that contains the phone number xxx-xxx-xxxx, I need to split
that up into three different columns. Column B would equal the area
code... column C would equal the Prefix.. and column D would equal the
digits..

any suggestions on how to accomplish this?

thanks


--
maximus73
------------------------------------------------------------------------
maximus73's Profile: http://www.excelforum.com/member.php...o&userid=25877
View this thread: http://www.excelforum.com/showthread...hreadid=392593


  #3   Report Post  
Lomax
 
Posts: n/a
Default

one way,

select column "A". Go to Data / text to columns/delimited / select other
for the delimiter and put in the "-" as your sample shows.

It should put the results in a, b & c.

Hope this helps.

lomax
"maximus73" wrote
in message ...

I need to break up a phone number into three different columns. I have
column A that contains the phone number xxx-xxx-xxxx, I need to split
that up into three different columns. Column B would equal the area
code... column C would equal the Prefix.. and column D would equal the
digits..

any suggestions on how to accomplish this?

thanks


--
maximus73
------------------------------------------------------------------------
maximus73's Profile:
http://www.excelforum.com/member.php...o&userid=25877
View this thread: http://www.excelforum.com/showthread...hreadid=392593



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
Phone number Lisa Excel Discussion (Misc queries) 3 May 10th 05 10:34 PM
Phone Number Formats Mikey54412 Excel Discussion (Misc queries) 4 May 4th 05 03:11 AM
Maximum number of rows? Allan Bach Excel Discussion (Misc queries) 5 April 14th 05 12:37 PM
duplicate number Daniell Excel Discussion (Misc queries) 1 March 16th 05 07:02 PM
Phone Dialer Pat Excel Discussion (Misc queries) 5 January 7th 05 06:28 PM


All times are GMT +1. The time now is 05:29 PM.

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

About Us

"It's about Microsoft Excel"