ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Compare cell contents in adjacent columns (https://www.excelbanter.com/excel-programming/395882-compare-cell-contents-adjacent-columns.html)

ivanoddcat

Compare cell contents in adjacent columns
 
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.

SysAccountant

Compare cell contents in adjacent columns
 
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.


ivanoddcat

Compare cell contents in adjacent columns
 
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.


SysAccountant

Compare cell contents in adjacent columns
 
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.



All times are GMT +1. The time now is 01:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com