PC Review


Reply
Thread Tools Rate Thread

How can I split contents of cell with no delimiter

 
 
=?Utf-8?B?cmViYw==?=
Guest
Posts: n/a
 
      17th Aug 2007
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?R2FyeScncyBTdHVkZW50?=
Guest
Posts: n/a
 
      17th Aug 2007
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

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      17th Aug 2007
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 With Quote
 
=?Utf-8?B?cmViYw==?=
Guest
Posts: n/a
 
      17th Aug 2007
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

 
Reply With Quote
 
=?Utf-8?B?cmViYw==?=
Guest
Posts: n/a
 
      17th Aug 2007
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 With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
split contents of cell april Microsoft Excel Misc 8 28th May 2009 12:05 AM
split contents of cell april Microsoft Excel Misc 0 27th May 2009 08:34 PM
split the contents of a cell spunkyjon Microsoft Excel Programming 6 6th Mar 2008 02:38 PM
Split contents of a cell Rikuk Microsoft Excel Worksheet Functions 6 26th Mar 2006 04:03 PM
Split contents of a cell Kagsy Microsoft Excel New Users 3 4th Mar 2004 12:02 AM


Features
 

Advertising
 

Newsgroups
 


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