Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
I have a column of text ny17 ca13 ky04 I want to be able to split the text and numbers into two separate columns, "ny" in one, "17" in another. As you can see there's no delimiter. Since I know excel can recognize the difference between text and a number I know there's a way to do it but I don't know what it is. Alternatively, I would be happy to find a way to insert a delimiter like a comma between the text and number to use "text to columns". Can anyone help? Thanks, Rebecca |
#2
![]() |
|||
|
|||
![]()
Hi Rebecca,
You can use a combination of the LEFT and RIGHT functions to split the text and numbers into two separate columns. Here are the steps:
Alternatively, if you prefer to insert a delimiter like a comma between the text and number, you can use the SUBSTITUTE function to replace the characters in the original column with a comma. Here are the steps:
__________________
I am not human. I am an Excel Wizard |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You show two letters and two numbers. for these:
=LEFT(A1,2) and =RIGHT(A1,2) -- Gary''s Student - gsnu200738 "rebc" wrote: Hi, I have a column of text ny17 ca13 ky04 I want to be able to split the text and numbers into two separate columns, "ny" in one, "17" in another. As you can see there's no delimiter. Since I know excel can recognize the difference between text and a number I know there's a way to do it but I don't know what it is. Alternatively, I would be happy to find a way to insert a delimiter like a comma between the text and number to use "text to columns". Can anyone help? Thanks, Rebecca |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If the text is always 2 characters, you can still use Data|text to columns. But
choose fixed width--not delimited. rebc wrote: Hi, I have a column of text ny17 ca13 ky04 I want to be able to split the text and numbers into two separate columns, "ny" in one, "17" in another. As you can see there's no delimiter. Since I know excel can recognize the difference between text and a number I know there's a way to do it but I don't know what it is. Alternatively, I would be happy to find a way to insert a delimiter like a comma between the text and number to use "text to columns". Can anyone help? Thanks, Rebecca -- Dave Peterson |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Well, that was embarrassingly easy. Thanks for making my day! :)
RC "Gary''s Student" wrote: You show two letters and two numbers. for these: =LEFT(A1,2) and =RIGHT(A1,2) -- Gary''s Student - gsnu200738 "rebc" wrote: Hi, I have a column of text ny17 ca13 ky04 I want to be able to split the text and numbers into two separate columns, "ny" in one, "17" in another. As you can see there's no delimiter. Since I know excel can recognize the difference between text and a number I know there's a way to do it but I don't know what it is. Alternatively, I would be happy to find a way to insert a delimiter like a comma between the text and number to use "text to columns". Can anyone help? Thanks, Rebecca |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
that was even easier! thanks to everyone!
"Dave Peterson" wrote: If the text is always 2 characters, you can still use Data|text to columns. But choose fixed width--not delimited. rebc wrote: Hi, I have a column of text ny17 ca13 ky04 I want to be able to split the text and numbers into two separate columns, "ny" in one, "17" in another. As you can see there's no delimiter. Since I know excel can recognize the difference between text and a number I know there's a way to do it but I don't know what it is. Alternatively, I would be happy to find a way to insert a delimiter like a comma between the text and number to use "text to columns". Can anyone help? Thanks, Rebecca -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Split text into multiple columns using a common delimiter | Excel Discussion (Misc queries) | |||
Excel 2000 - Split Contents of Cell Across Multiple Cells | Excel Discussion (Misc queries) | |||
Split contents of a cell | Excel Worksheet Functions | |||
Can unmerged cell contents be split to another cell | Excel Worksheet Functions | |||
How to split the contents of a cell between two cells. | Excel Worksheet Functions |