PC Review


Reply
Thread Tools Rate Thread

Compare cell contents in adjacent columns

 
 
=?Utf-8?B?aXZhbm9kZGNhdA==?=
Guest
Posts: n/a
 
      20th Aug 2007
hello
i am trying to compare the contents of all the cells in column a with all
the cells in column b and where there is a match copy that name to column c.
the problem is the name in , for example, A10 may exist in B1620 and i have
16000 cells to compare. hope i've explained this ok.
I have spent a good few hours searching through the theads here and found a
lot of very useful stuff but not in answer to this specific proble.
can anybody help please.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?U3lzQWNjb3VudGFudA==?=
Guest
Posts: n/a
 
      20th Aug 2007
The solution to this problem requires familiarity with two techniques in
Excel :
* Conditional formatting
and
* countif formula (Countif)

For a very clear explanation and a dead easy example go to the John
Walkenbach website : (http://www.j-walk.com/) and look for the article :
"Comparing Two List With Conditional Formatting" and the "Excel User Tip"
section.

I had a similiar sort of issue where I wanted to do the comparision
proogramatically - to incorporate the above technique programmatically , just
simply use the macro recorder and follow the steps as stated in the John
Walkenbach article (tailor it to your situation ,of course).

Hope my suggestion helps.

Regards

sysAccountant

"ivanoddcat" wrote:

> hello
> i am trying to compare the contents of all the cells in column a with all
> the cells in column b and where there is a match copy that name to column c.
> the problem is the name in , for example, A10 may exist in B1620 and i have
> 16000 cells to compare. hope i've explained this ok.
> I have spent a good few hours searching through the theads here and found a
> lot of very useful stuff but not in answer to this specific proble.
> can anybody help please.

 
Reply With Quote
 
=?Utf-8?B?aXZhbm9kZGNhdA==?=
Guest
Posts: n/a
 
      20th Aug 2007
Thanks for that SysAccountant. have managed to solve my problem with this.
by the way the link to the example is :

http://j-walk.com/ss/excel/usertips/tip073.htm

"SysAccountant" wrote:

> The solution to this problem requires familiarity with two techniques in
> Excel :
> * Conditional formatting
> and
> * countif formula (Countif)
>
> For a very clear explanation and a dead easy example go to the John
> Walkenbach website : (http://www.j-walk.com/) and look for the article :
> "Comparing Two List With Conditional Formatting" and the "Excel User Tip"
> section.
>
> I had a similiar sort of issue where I wanted to do the comparision
> proogramatically - to incorporate the above technique programmatically , just
> simply use the macro recorder and follow the steps as stated in the John
> Walkenbach article (tailor it to your situation ,of course).
>
> Hope my suggestion helps.
>
> Regards
>
> sysAccountant
>
> "ivanoddcat" wrote:
>
> > hello
> > i am trying to compare the contents of all the cells in column a with all
> > the cells in column b and where there is a match copy that name to column c.
> > the problem is the name in , for example, A10 may exist in B1620 and i have
> > 16000 cells to compare. hope i've explained this ok.
> > I have spent a good few hours searching through the theads here and found a
> > lot of very useful stuff but not in answer to this specific proble.
> > can anybody help please.

 
Reply With Quote
 
=?Utf-8?B?U3lzQWNjb3VudGFudA==?=
Guest
Posts: n/a
 
      20th Aug 2007
Glad to be of some help - thanks for the info on the J. Walkenbach link


Rgds
sysAccountant

"ivanoddcat" wrote:

> Thanks for that SysAccountant. have managed to solve my problem with this.
> by the way the link to the example is :
>
> http://j-walk.com/ss/excel/usertips/tip073.htm
>
> "SysAccountant" wrote:
>
> > The solution to this problem requires familiarity with two techniques in
> > Excel :
> > * Conditional formatting
> > and
> > * countif formula (Countif)
> >
> > For a very clear explanation and a dead easy example go to the John
> > Walkenbach website : (http://www.j-walk.com/) and look for the article :
> > "Comparing Two List With Conditional Formatting" and the "Excel User Tip"
> > section.
> >
> > I had a similiar sort of issue where I wanted to do the comparision
> > proogramatically - to incorporate the above technique programmatically , just
> > simply use the macro recorder and follow the steps as stated in the John
> > Walkenbach article (tailor it to your situation ,of course).
> >
> > Hope my suggestion helps.
> >
> > Regards
> >
> > sysAccountant
> >
> > "ivanoddcat" wrote:
> >
> > > hello
> > > i am trying to compare the contents of all the cells in column a with all
> > > the cells in column b and where there is a match copy that name to column c.
> > > the problem is the name in , for example, A10 may exist in B1620 and i have
> > > 16000 cells to compare. hope i've explained this ok.
> > > I have spent a good few hours searching through the theads here and found a
> > > lot of very useful stuff but not in answer to this specific proble.
> > > can anybody help please.

 
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
RE: Autofill of Cell based on contents in non adjacent cell Judy Cohen Microsoft Excel Programming 0 31st Mar 2010 01:27 PM
Help! Compare one cell against a whole column, report adjacent cel Spam spam bacon spam Microsoft Excel Worksheet Functions 4 5th Nov 2008 06:54 PM
Merge the contents of three non-adjacent columns Sisilla Microsoft Excel Programming 2 3rd May 2007 09:51 PM
Delete cell contents with input to adjacent cell Ashley Frank Microsoft Excel Misc 1 5th Oct 2005 04:28 PM
compare contents of two adjacent columns =?Utf-8?B?QWRhbQ==?= Microsoft Excel Worksheet Functions 6 8th Aug 2005 09:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:33 PM.