Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 20
Default Find in Column A and Remove from Column B

Hey guys, i was wondering if there was a way to make a macro to do the job of
Substitute or concatonates... a marco that would take out Matching Values
from Column B in Column A:
For Example

|Column A | Column B|
| The American Online | The American Online, Bob |
| The American Online | , Bob |

Thanks so much for your help!!

~johnny b
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Find in Column A and Remove from Column B

What about using a formula in column C like this:
=TRIM(SUBSTITUTE(SUBSTITUTE(B1,A1,""),",",""))
filled down as required. You can overwrite column B with column C by
Pastespecial/Values if necessary.

Regards,
Stefi


€˛Johnny B€¯ ezt Ć*rta:

Hey guys, i was wondering if there was a way to make a macro to do the job of
Substitute or concatonates... a marco that would take out Matching Values
from Column B in Column A:
For Example

|Column A | Column B|
| The American Online | The American Online, Bob |
| The American Online | , Bob |

Thanks so much for your help!!

~johnny b

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,646
Default Find in Column A and Remove from Column B

This happens when the cell is formatted as text. Re-format it as general,
click on the formula bar and confirm the formula (press Enter)!
Regards,
Stefi


€˛Johnny B€¯ ezt Ć*rta:

Thanks Stefi, the problem with using these formulas is that I cant access the
information that results. When i click on the cell all i see is
"=TRIM(SUBSTITUTE(SUBSTITUTE(B1,A1,""),",","") )" I cannot actually access the
information the resulted.

Thanks for your help,

~johnny b

"Stefi" wrote:

What about using a formula in column C like this:
=TRIM(SUBSTITUTE(SUBSTITUTE(B1,A1,""),",",""))
filled down as required. You can overwrite column B with column C by
Pastespecial/Values if necessary.

Regards,
Stefi


€˛Johnny B€¯ ezt Ć*rta:

Hey guys, i was wondering if there was a way to make a macro to do the job of
Substitute or concatonates... a marco that would take out Matching Values
from Column B in Column A:
For Example

|Column A | Column B|
| The American Online | The American Online, Bob |
| The American Online | , Bob |

Thanks so much for your help!!

~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
Find in Column A and Remove from Column B Johnny B[_2_] Excel Discussion (Misc queries) 3 March 28th 07 11:24 AM
Find in Column A and Remove from Column B Johnny B[_2_] Excel Discussion (Misc queries) 0 March 28th 07 02:45 AM
Find in Column A and Remove from Column B Johnny B[_2_] Excel Discussion (Misc queries) 0 March 28th 07 01:52 AM
Find in Column A and Remove from Column B Joel Excel Discussion (Misc queries) 0 March 28th 07 12:22 AM
How to find the most recent date in a column based on other column Veretax Excel Worksheet Functions 7 October 18th 06 05:01 PM


All times are GMT +1. The time now is 10:34 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"