Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 111
Default Locating the First Comma in a Text

What I am trying to do is find a formula, that will locate the first comma in
a text string, and then the next, until there is no more. Becasue I have
some text information, that is seprated by commas, and I now need to put this
information in different cells. BTW this information has been download from
the interent, so somebody is just not keying this stuff in.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 111
Default Locating the First Comma in a Text

Yes I know about that and it works, but it is time consuming, when I have
more then one line to do. If I had formula, then it would happen
automaticlly for me.

"Don Guillett" wrote:

Merry Xmas
Have you tried
datatext to columnspretty self explanatory
--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
What I am trying to do is find a formula, that will locate the first comma
in
a text string, and then the next, until there is no more. Becasue I have
some text information, that is seprated by commas, and I now need to put
this
information in different cells. BTW this information has been download
from
the interent, so somebody is just not keying this stuff in.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Locating the First Comma in a Text

Text to Columns is the best solution.........

Using formulas can be somewhat complicated depending on how many commas may
be present. Does every entry have the same number of commas? Post several
representative samples.

Biff

"caldog" wrote in message
...
Guess I will have to see if I can find another source for the information
that I'm seeking. So far it is not forth coming here.

"Don Guillett" wrote:

Just select ALL of them at once and then do it...

--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
Yes I know about that and it works, but it is time consuming, when I
have
more then one line to do. If I had formula, then it would happen
automaticlly for me.

"Don Guillett" wrote:

Merry Xmas
Have you tried
datatext to columnspretty self explanatory
--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
What I am trying to do is find a formula, that will locate the first
comma
in
a text string, and then the next, until there is no more. Becasue I
have
some text information, that is seprated by commas, and I now need to
put
this
information in different cells. BTW this information has been
download
from
the interent, so somebody is just not keying this stuff in.








  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 111
Default Locating the First Comma in a Text

The answer to your question is yes it does.

Example:
J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


"T. Valko" wrote:

Text to Columns is the best solution.........

Using formulas can be somewhat complicated depending on how many commas may
be present. Does every entry have the same number of commas? Post several
representative samples.

Biff

"caldog" wrote in message
...
Guess I will have to see if I can find another source for the information
that I'm seeking. So far it is not forth coming here.

"Don Guillett" wrote:

Just select ALL of them at once and then do it...

--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
Yes I know about that and it works, but it is time consuming, when I
have
more then one line to do. If I had formula, then it would happen
automaticlly for me.

"Don Guillett" wrote:

Merry Xmas
Have you tried
datatext to columnspretty self explanatory
--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
What I am trying to do is find a formula, that will locate the first
comma
in
a text string, and then the next, until there is no more. Becasue I
have
some text information, that is seprated by commas, and I now need to
put
this
information in different cells. BTW this information has been
download
from
the interent, so somebody is just not keying this stuff in.









  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Locating the First Comma in a Text

Ok, that's relatively easy:

J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


Assume that data is in A1:A3

Enter this formula in B1:

=LEFT(A1,FIND(",",A1&",")-1)

Enter this formula in C1:

=IF(B1=A1,"",SUBSTITUTE(A1,B1&", ",""))

Select both B1 and C1 then copy down as needed.

Biff

"caldog" wrote in message
...
The answer to your question is yes it does.

Example:
J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


"T. Valko" wrote:

Text to Columns is the best solution.........

Using formulas can be somewhat complicated depending on how many commas
may
be present. Does every entry have the same number of commas? Post several
representative samples.

Biff

"caldog" wrote in message
...
Guess I will have to see if I can find another source for the
information
that I'm seeking. So far it is not forth coming here.

"Don Guillett" wrote:

Just select ALL of them at once and then do it...

--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
Yes I know about that and it works, but it is time consuming, when I
have
more then one line to do. If I had formula, then it would happen
automaticlly for me.

"Don Guillett" wrote:

Merry Xmas
Have you tried
datatext to columnspretty self explanatory
--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
What I am trying to do is find a formula, that will locate the
first
comma
in
a text string, and then the next, until there is no more.
Becasue I
have
some text information, that is seprated by commas, and I now need
to
put
this
information in different cells. BTW this information has been
download
from
the interent, so somebody is just not keying this stuff in.











  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Locating the First Comma in a Text

Ok, that's relatively easy:

J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


Assume that data is in A1:A3

Enter this formula in B1:

=LEFT(A1,FIND(",",A1&",")-1)

Enter this formula in C1:

=IF(B1=A1,"",SUBSTITUTE(A1,B1&", ",""))

Select both B1 and C1 then copy down as needed.

Biff

"caldog" wrote in message
...
The answer to your question is yes it does.

Example:
J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


"T. Valko" wrote:

Text to Columns is the best solution.........

Using formulas can be somewhat complicated depending on how many commas
may
be present. Does every entry have the same number of commas? Post several
representative samples.

Biff

"caldog" wrote in message
...
Guess I will have to see if I can find another source for the
information
that I'm seeking. So far it is not forth coming here.

"Don Guillett" wrote:

Just select ALL of them at once and then do it...

--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
Yes I know about that and it works, but it is time consuming, when I
have
more then one line to do. If I had formula, then it would happen
automaticlly for me.

"Don Guillett" wrote:

Merry Xmas
Have you tried
datatext to columnspretty self explanatory
--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
What I am trying to do is find a formula, that will locate the
first
comma
in
a text string, and then the next, until there is no more.
Becasue I
have
some text information, that is seprated by commas, and I now need
to
put
this
information in different cells. BTW this information has been
download
from
the interent, so somebody is just not keying this stuff in.











  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Locating the First Comma in a Text

Assuming your data in A1:A3

B1 =LEFT(A1,FIND(",",A1)-1)
C1 =RIGHT(A1,LEN(A1)-(FIND(",",A1)+1))
Select B1 & C1 and drag down to C3


"caldog" wrote:

The answer to your question is yes it does.

Example:
J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


"T. Valko" wrote:

Text to Columns is the best solution.........

Using formulas can be somewhat complicated depending on how many commas may
be present. Does every entry have the same number of commas? Post several
representative samples.

Biff

"caldog" wrote in message
...
Guess I will have to see if I can find another source for the information
that I'm seeking. So far it is not forth coming here.

"Don Guillett" wrote:

Just select ALL of them at once and then do it...

--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
Yes I know about that and it works, but it is time consuming, when I
have
more then one line to do. If I had formula, then it would happen
automaticlly for me.

"Don Guillett" wrote:

Merry Xmas
Have you tried
datatext to columnspretty self explanatory
--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
What I am trying to do is find a formula, that will locate the first
comma
in
a text string, and then the next, until there is no more. Becasue I
have
some text information, that is seprated by commas, and I now need to
put
this
information in different cells. BTW this information has been
download
from
the interent, so somebody is just not keying this stuff in.











  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 111
Default Locating the First Comma in a Text

Thanks to both of you for helping me on this problem. It works just perfect.
And my you both have a Merry Christmas.

Steve

"T. Valko" wrote:

Ok, that's relatively easy:

J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


Assume that data is in A1:A3

Enter this formula in B1:

=LEFT(A1,FIND(",",A1&",")-1)

Enter this formula in C1:

=IF(B1=A1,"",SUBSTITUTE(A1,B1&", ",""))

Select both B1 and C1 then copy down as needed.

Biff

"caldog" wrote in message
...
The answer to your question is yes it does.

Example:
J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


"T. Valko" wrote:

Text to Columns is the best solution.........

Using formulas can be somewhat complicated depending on how many commas
may
be present. Does every entry have the same number of commas? Post several
representative samples.

Biff

"caldog" wrote in message
...
Guess I will have to see if I can find another source for the
information
that I'm seeking. So far it is not forth coming here.

"Don Guillett" wrote:

Just select ALL of them at once and then do it...

--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
Yes I know about that and it works, but it is time consuming, when I
have
more then one line to do. If I had formula, then it would happen
automaticlly for me.

"Don Guillett" wrote:

Merry Xmas
Have you tried
datatext to columnspretty self explanatory
--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
What I am trying to do is find a formula, that will locate the
first
comma
in
a text string, and then the next, until there is no more.
Becasue I
have
some text information, that is seprated by commas, and I now need
to
put
this
information in different cells. BTW this information has been
download
from
the interent, so somebody is just not keying this stuff in.












  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 111
Default Locating the First Comma in a Text

Folks you don't how valuable that formula was to me. It as answer and solved
several forumla problems that I was having, in other aspect in my worksheet.
I have tried on several different worksheets, and it has worked everytime.

Thanks again so much.

Steve

"caldog" wrote:

Thanks to both of you for helping me on this problem. It works just perfect.
And my you both have a Merry Christmas.

Steve

"T. Valko" wrote:

Ok, that's relatively easy:

J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


Assume that data is in A1:A3

Enter this formula in B1:

=LEFT(A1,FIND(",",A1&",")-1)

Enter this formula in C1:

=IF(B1=A1,"",SUBSTITUTE(A1,B1&", ",""))

Select both B1 and C1 then copy down as needed.

Biff

"caldog" wrote in message
...
The answer to your question is yes it does.

Example:
J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


"T. Valko" wrote:

Text to Columns is the best solution.........

Using formulas can be somewhat complicated depending on how many commas
may
be present. Does every entry have the same number of commas? Post several
representative samples.

Biff

"caldog" wrote in message
...
Guess I will have to see if I can find another source for the
information
that I'm seeking. So far it is not forth coming here.

"Don Guillett" wrote:

Just select ALL of them at once and then do it...

--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
Yes I know about that and it works, but it is time consuming, when I
have
more then one line to do. If I had formula, then it would happen
automaticlly for me.

"Don Guillett" wrote:

Merry Xmas
Have you tried
datatext to columnspretty self explanatory
--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
What I am trying to do is find a formula, that will locate the
first
comma
in
a text string, and then the next, until there is no more.
Becasue I
have
some text information, that is seprated by commas, and I now need
to
put
this
information in different cells. BTW this information has been
download
from
the interent, so somebody is just not keying this stuff in.












  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Locating the First Comma in a Text

You're welcome!

Biff

"caldog" wrote in message
...
Folks you don't how valuable that formula was to me. It as answer and
solved
several forumla problems that I was having, in other aspect in my
worksheet.
I have tried on several different worksheets, and it has worked everytime.

Thanks again so much.

Steve

"caldog" wrote:

Thanks to both of you for helping me on this problem. It works just
perfect.
And my you both have a Merry Christmas.

Steve

"T. Valko" wrote:

Ok, that's relatively easy:

J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin

Assume that data is in A1:A3

Enter this formula in B1:

=LEFT(A1,FIND(",",A1&",")-1)

Enter this formula in C1:

=IF(B1=A1,"",SUBSTITUTE(A1,B1&", ",""))

Select both B1 and C1 then copy down as needed.

Biff

"caldog" wrote in message
...
The answer to your question is yes it does.

Example:
J. Brown, J. Simpson
O. Holmes, T. Johns
S. Oliver, K. Martin


"T. Valko" wrote:

Text to Columns is the best solution.........

Using formulas can be somewhat complicated depending on how many
commas
may
be present. Does every entry have the same number of commas? Post
several
representative samples.

Biff

"caldog" wrote in message
...
Guess I will have to see if I can find another source for the
information
that I'm seeking. So far it is not forth coming here.

"Don Guillett" wrote:

Just select ALL of them at once and then do it...

--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
Yes I know about that and it works, but it is time consuming,
when I
have
more then one line to do. If I had formula, then it would
happen
automaticlly for me.

"Don Guillett" wrote:

Merry Xmas
Have you tried
datatext to columnspretty self explanatory
--
Don Guillett
SalesAid Software

"caldog" wrote in message
...
What I am trying to do is find a formula, that will locate
the
first
comma
in
a text string, and then the next, until there is no more.
Becasue I
have
some text information, that is seprated by commas, and I now
need
to
put
this
information in different cells. BTW this information has
been
download
from
the interent, so somebody is just not keying this stuff in.














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
Sumproduct issues SteveDB1 Excel Worksheet Functions 25 June 3rd 09 04:58 PM
Text entries behaving like numbers jkiser Excel Discussion (Misc queries) 12 August 30th 06 09:29 PM
Changing a comma separated text file and save it. BristolBreeze Excel Discussion (Misc queries) 0 March 23rd 06 10:32 AM
Formula for adding a comma in front of text in a cell Shelley Excel Worksheet Functions 4 April 18th 05 04:34 PM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 09:11 AM.

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"