Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 150
Default split text and numbers into separate cells

Hi everyone
I have a column that has text and numbers (name and phone number) in example
Julie 01264 000000.

I need to be able to split out the telephone number into another column can
anyone help?

Thanks in advance

Julie
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: split text and numbers into separate cells

Hi Julie,

Sure, I can definitely help you with that! Here's how you can split the text and numbers into separate cells:
  1. Select the column that contains the text and numbers you want to split.
  2. Click on the "Data" tab in the Excel ribbon.
  3. Click on the "Text to Columns" button.
  4. In the "Convert Text to Columns Wizard" that appears, select "Delimited" and click "Next".
  5. In the next screen, select the delimiter that separates the text and numbers in your data. In your case, it looks like there's a space between the name and phone number, so select "Space" and make sure the preview looks correct. Click "Next".
  6. In the final screen, you can choose the format of the data in each column. For the phone number, select "Text" to make sure Excel doesn't try to convert it to a number and remove any leading zeros. Click "Finish".

That's it! Excel will now split the text and numbers into separate columns. You can then delete the original column if you no longer need it.

I hope that helps!
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default split text and numbers into separate cells

Hi Julie

Option1: From menu DataText to columnsSpace delimiter..

Option2: (If space between name and number) With data in cell A1; in cell B1
enter the formula
=MID(A1,FIND(CHAR(32),A1)+1,LEN(A1))

Option3: Incase you dont have space between name and phone number
Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

=MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"01234 56789")),LEN(A1))


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


"Julie" wrote:

Hi everyone
I have a column that has text and numbers (name and phone number) in example
Julie 01264 000000.

I need to be able to split out the telephone number into another column can
anyone help?

Thanks in advance

Julie

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default split text and numbers into separate cells

A small correction

Option3 is not an array formula..Normal entered...suppose your name is
'Jacob Skaria 1234' the first two options will not work... option3 will work..

=MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"01234 56789")),LEN(A1))

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


"Jacob Skaria" wrote:

Hi Julie

Option1: From menu DataText to columnsSpace delimiter..

Option2: (If space between name and number) With data in cell A1; in cell B1
enter the formula
=MID(A1,FIND(CHAR(32),A1)+1,LEN(A1))

Option3: Incase you dont have space between name and phone number
Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

=MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"01234 56789")),LEN(A1))


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


"Julie" wrote:

Hi everyone
I have a column that has text and numbers (name and phone number) in example
Julie 01264 000000.

I need to be able to split out the telephone number into another column can
anyone help?

Thanks in advance

Julie

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,696
Default split text and numbers into separate cells

Or, if it's only name and phone #,

=LEFT(A2,FIND(" ",A2)-1)
Gets name

=RIGHT(A2,LEN(A2)-FIND(" ",A2))
Gets Number

"Jacob Skaria" wrote:

A small correction

Option3 is not an array formula..Normal entered...suppose your name is
'Jacob Skaria 1234' the first two options will not work... option3 will work..

=MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"01234 56789")),LEN(A1))

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


"Jacob Skaria" wrote:

Hi Julie

Option1: From menu DataText to columnsSpace delimiter..

Option2: (If space between name and number) With data in cell A1; in cell B1
enter the formula
=MID(A1,FIND(CHAR(32),A1)+1,LEN(A1))

Option3: Incase you dont have space between name and phone number
Please note that this is an array formula. Within the cell in edit mode (F2)
paste this formula and press Ctrl+Shift+Enter to apply this formula. If
successful in 'Formula Bar' you can notice the curly braces at both ends like
"{=<formula}"

=MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"01234 56789")),LEN(A1))


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


"Julie" wrote:

Hi everyone
I have a column that has text and numbers (name and phone number) in example
Julie 01264 000000.

I need to be able to split out the telephone number into another column can
anyone help?

Thanks in advance

Julie



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default split text and numbers into separate cells

On Tue, 1 Sep 2009 04:14:02 -0700, Julie
wrote:

Hi everyone
I have a column that has text and numbers (name and phone number) in example
Julie 01264 000000.

I need to be able to split out the telephone number into another column can
anyone help?

Thanks in advance

Julie



So long as there are no digits within the name:

A1: Julie 01264 000000

Name:
=TRIM(LEFT(A1,MIN(SEARCH({1,2,3,4,5,6,7,8,9,0},A1& "1,2,3,4,5,6,7,8,9,0"))-1))

Digits:
=MID(A1,MIN(SEARCH({1,2,3,4,5,6,7,8,9,0},A1&"1,2,3 ,4,5,6,7,8,9,0")),99)
--ron
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
How to split number and text string to separate cells? Lai704 Excel Discussion (Misc queries) 4 September 29th 08 02:18 AM
Split a number from one cell to separate cells for each Rob Excel Discussion (Misc queries) 11 June 23rd 08 10:24 PM
split text into separate cells jtaiariol Excel Worksheet Functions 7 May 7th 07 09:32 PM
Split date in cell into 2 separate cells Jambruins Excel Discussion (Misc queries) 1 August 9th 06 06:16 PM
Split data from one cell to two separate cells Michele Excel Worksheet Functions 2 October 25th 05 09:27 PM


All times are GMT +1. The time now is 04:34 PM.

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"