Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Finding info of one column and removing it from another

My question may be difficult to understand. Here is my situation: I have two
columns (ex: column 1 and column 2). Column 1 has information repeated in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2 |
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this problem.
Thank you very much for your time.

~Johnny B
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default Finding info of one column and removing it from another

copy column 2 to column a on a new worksheet, choose Text to Columns from the
Data menu/gallery depending on version of excel - choose delimited, by
commas, general and your data should then look exactly how you want it.
have fun!

"Johnny B" wrote:

My question may be difficult to understand. Here is my situation: I have two
columns (ex: column 1 and column 2). Column 1 has information repeated in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2 |
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this problem.
Thank you very much for your time.

~Johnny B

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default Finding info of one column and removing it from another

If you have, as you probably do, additional columns of data, copy your new
columns 1 and 2 back over the old ones...
You could do Text to Columns in the original sheet by moving column 2 to
replace column 1, and making sure you have the necessary number of blank
columns to the right, but you can loose data in adjoining cells, if you end
up having commas in unexpected places!

"Johnny B" wrote:

My question may be difficult to understand. Here is my situation: I have two
columns (ex: column 1 and column 2). Column 1 has information repeated in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2 |
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this problem.
Thank you very much for your time.

~Johnny B

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Finding info of one column and removing it from another

Thanks for your help, BoniM, but if i am understanding you correctly, i think
the problem is that if i use Text to Column and deliminate it based on commas
or spaces... i get multiple different columns:

(ex: Column 1 | Column 2| Column 3 | Column 4| Column 5)
(___American |__Online___| 1234__|___fake__|__street)

I need to somehow detect the repeated company name and only remove correct
matches it from the address column. Rather than jus separating out the
repated company name

"BoniM" wrote:

If you have, as you probably do, additional columns of data, copy your new
columns 1 and 2 back over the old ones...
You could do Text to Columns in the original sheet by moving column 2 to
replace column 1, and making sure you have the necessary number of blank
columns to the right, but you can loose data in adjoining cells, if you end
up having commas in unexpected places!

"Johnny B" wrote:

My question may be difficult to understand. Here is my situation: I have two
columns (ex: column 1 and column 2). Column 1 has information repeated in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2 |
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this problem.
Thank you very much for your time.

~Johnny B

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 353
Default Finding info of one column and removing it from another

don't delimit based on commas or spaces... ONLY on commas. If there is a
check in spaces, remove it.

This:
American Online, 1234 USA street
AMD Anthlon, Customer Support

will become this:
American Online 1234 USA street
AMD Anthlon Customer Support

"Johnny B" wrote:

Thanks for your help, BoniM, but if i am understanding you correctly, i think
the problem is that if i use Text to Column and deliminate it based on commas
or spaces... i get multiple different columns:

(ex: Column 1 | Column 2| Column 3 | Column 4| Column 5)
(___American |__Online___| 1234__|___fake__|__street)

I need to somehow detect the repeated company name and only remove correct
matches it from the address column. Rather than jus separating out the
repated company name

"BoniM" wrote:

If you have, as you probably do, additional columns of data, copy your new
columns 1 and 2 back over the old ones...
You could do Text to Columns in the original sheet by moving column 2 to
replace column 1, and making sure you have the necessary number of blank
columns to the right, but you can loose data in adjoining cells, if you end
up having commas in unexpected places!

"Johnny B" wrote:

My question may be difficult to understand. Here is my situation: I have two
columns (ex: column 1 and column 2). Column 1 has information repeated in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2 |
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this problem.
Thank you very much for your time.

~Johnny B



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Finding info of one column and removing it from another

If your data are in columns A & B, put this in column C
=SUBSTITUTE(B3,A3&", ","")
If you want to, you can then copy the result from C and paste special values
if you want to get rid of the original column B.
--
David Biddulph

"Johnny B" wrote in message
...
My question may be difficult to understand. Here is my situation: I have
two
columns (ex: column 1 and column 2). Column 1 has information repeated in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2 |
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this problem.
Thank you very much for your time.

~Johnny B



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Finding info of one column and removing it from another

Hi David Biddulph,

Thank you for your time and reply :D. but im not very familiar with Excel
and i pasted "=SUBSTITUTE(B3,A3&", ","")" into a cell on column C and it
didnt change anything globally.... rather it just repeated what was in Column
B on the 3rd row?... am i inserting it wrong?

Thanks for your time!

~Johnny B

"David Biddulph" wrote:

If your data are in columns A & B, put this in column C
=SUBSTITUTE(B3,A3&", ","")
If you want to, you can then copy the result from C and paste special values
if you want to get rid of the original column B.
--
David Biddulph

"Johnny B" wrote in message
...
My question may be difficult to understand. Here is my situation: I have
two
columns (ex: column 1 and column 2). Column 1 has information repeated in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2 |
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this problem.
Thank you very much for your time.

~Johnny B




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Finding info of one column and removing it from another

You need to copy it down the rest of the rows. Either:
1 select the cell, copy, select the cells down the rest of the column (as
far down as you have data in A and B), and paste, or
2 select the square grab handle in the bottom right of the cell, & drag
to copy for the rest of the column as above, or
3 double-click on the square grab handle, and that will automatically
copy down as far as you have data in B.
--
David Biddulph

"Johnny B" wrote in message
...
Hi David Biddulph,

Thank you for your time and reply :D. but im not very familiar with Excel
and i pasted "=SUBSTITUTE(B3,A3&", ","")" into a cell on column C and it
didnt change anything globally.... rather it just repeated what was in
Column
B on the 3rd row?... am i inserting it wrong?

Thanks for your time!

~Johnny B

"David Biddulph" wrote:

If your data are in columns A & B, put this in column C
=SUBSTITUTE(B3,A3&", ","")
If you want to, you can then copy the result from C and paste special
values
if you want to get rid of the original column B.
--
David Biddulph

"Johnny B" wrote in message
...
My question may be difficult to understand. Here is my situation: I
have
two
columns (ex: column 1 and column 2). Column 1 has information repeated
in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from
Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2 |
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this
problem.
Thank you very much for your time.

~Johnny B






  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Finding info of one column and removing it from another

Hey David,

Wow you're genius... this forumla works beautifully except some cells do not
work.. meaning the column will still repeat the company name... for example

Column A | Column B | Column C (=SUBSTITUTE(B3,A3&", ","") |
American Online | American Online 1234 Fake St. | American Online 1234 Fake
St.

Other cells seem to work... for example

Column A | Column B | Column C (=SUBSTITUTE(B3,A3&", ","") |
American Online | American Online 1234 Fake St. | 1234 Fake St. |

I dont understand any reason for the discrepancy.

Thank you so much for your help!

~Johnny B

"David Biddulph" wrote:

You need to copy it down the rest of the rows. Either:
1 select the cell, copy, select the cells down the rest of the column (as
far down as you have data in A and B), and paste, or
2 select the square grab handle in the bottom right of the cell, & drag
to copy for the rest of the column as above, or
3 double-click on the square grab handle, and that will automatically
copy down as far as you have data in B.
--
David Biddulph

"Johnny B" wrote in message
...
Hi David Biddulph,

Thank you for your time and reply :D. but im not very familiar with Excel
and i pasted "=SUBSTITUTE(B3,A3&", ","")" into a cell on column C and it
didnt change anything globally.... rather it just repeated what was in
Column
B on the 3rd row?... am i inserting it wrong?

Thanks for your time!

~Johnny B

"David Biddulph" wrote:

If your data are in columns A & B, put this in column C
=SUBSTITUTE(B3,A3&", ","")
If you want to, you can then copy the result from C and paste special
values
if you want to get rid of the original column B.
--
David Biddulph

"Johnny B" wrote in message
...
My question may be difficult to understand. Here is my situation: I
have
two
columns (ex: column 1 and column 2). Column 1 has information repeated
in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from
Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2 |
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this
problem.
Thank you very much for your time.

~Johnny B






  #10   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Finding info of one column and removing it from another

The reason should be obvious if you look at the formula, Jonny. It is
looking for the content of column A, followed by a comma and a space, as
that was the format that you originally specified.

You can easily alter the formula to do the substitution working only on the
column A content, if there isn't always a comma and space, and you could
deal with the comma and space with a separate part of the formula if they
are there.
--
David Biddulph

"Johnny B" wrote in message
...
Hey David,

Wow you're genius... this forumla works beautifully except some cells do
not
work.. meaning the column will still repeat the company name... for
example

Column A | Column B | Column C (=SUBSTITUTE(B3,A3&", ","") |
American Online | American Online 1234 Fake St. | American Online 1234
Fake
St.

Other cells seem to work... for example

Column A | Column B | Column C (=SUBSTITUTE(B3,A3&", ","") |
American Online | American Online 1234 Fake St. | 1234 Fake St. |

I dont understand any reason for the discrepancy.

Thank you so much for your help!

~Johnny B

"David Biddulph" wrote:

You need to copy it down the rest of the rows. Either:
1 select the cell, copy, select the cells down the rest of the column
(as
far down as you have data in A and B), and paste, or
2 select the square grab handle in the bottom right of the cell, &
drag
to copy for the rest of the column as above, or
3 double-click on the square grab handle, and that will automatically
copy down as far as you have data in B.
--
David Biddulph

"Johnny B" wrote in message
...
Hi David Biddulph,

Thank you for your time and reply :D. but im not very familiar with
Excel
and i pasted "=SUBSTITUTE(B3,A3&", ","")" into a cell on column C and
it
didnt change anything globally.... rather it just repeated what was in
Column
B on the 3rd row?... am i inserting it wrong?

Thanks for your time!

~Johnny B

"David Biddulph" wrote:

If your data are in columns A & B, put this in column C
=SUBSTITUTE(B3,A3&", ","")
If you want to, you can then copy the result from C and paste special
values
if you want to get rid of the original column B.
--
David Biddulph

"Johnny B" wrote in message
...
My question may be difficult to understand. Here is my situation: I
have
two
columns (ex: column 1 and column 2). Column 1 has information
repeated
in
column 2. I would like to
identify info from column 1 and remove it from column 2.
For example

Column 1 | Column 2
|
American Online | American Online, 1234 USA street |
AMD Anthlon | AMD Anthlon, Customer Support |

I would like it to identify American Online, and AMD anthlon from
Column 1
and remove it from Column 2... Giving me:

Column 1 | Column 2
|
American Online | 1234 USA street |
AMD Anthlon | Customer Support |

I would really appreciate if anyone could help me out with this
problem.
Thank you very much for your time.

~Johnny B










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 do I sort by info in one column and it stay in line with info stephanie Excel Worksheet Functions 2 March 14th 07 05:43 PM
Finding/Removing Duplicate Numbers In A Column ? Robert11 New Users to Excel 3 November 26th 06 10:48 PM
Finding/removing duplicate names in a worksheet Dave Excel Worksheet Functions 1 April 17th 06 08:05 PM
Link info in one cell to info in several cells in another column (like a database) hansdiddy Excel Discussion (Misc queries) 1 February 22nd 06 02:27 AM
What Excel Formula = finding dup records and removing them? alethead74 Excel Worksheet Functions 1 July 8th 05 10:52 PM


All times are GMT +1. The time now is 10:11 PM.

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"