Home |
Search |
Today's Posts |
|
#1
![]() |
|||
|
|||
![]() 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
![]() |
|||
|
|||
![]()
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
![]() |
|||
|
|||
![]()
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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Phone number | Excel Discussion (Misc queries) | |||
Phone Number Formats | Excel Discussion (Misc queries) | |||
Maximum number of rows? | Excel Discussion (Misc queries) | |||
duplicate number | Excel Discussion (Misc queries) | |||
Phone Dialer | Excel Discussion (Misc queries) |