Comparing values in two columns

  • Thread starter Thread starter nicoll
  • Start date Start date
N

nicoll

Hi

Is there a simple way to do the following with a macro?

I have two columns of data, for each value in column A I want to find out if
the corresponding entry in column B is always the same. E.g.

Column A Column B
Ann 2
Ann 2
Ann 2
Ann 2
Bill 5
Bill 5
Bill 6 ****
Bill 5
Bill 5
David 1
David 1
Catherine 3
Catherine 3
Catherine 3
Catherine 3
David 3 ****
Emily 4
Emily 4
Emily 4
Emily 4
Emily 4







I want to find the entries in column B where I've added an ***.

Thanks.
 
My post didn't format the same as it appeared on my screen.
Column A contains the names, column B contains the numbers.

Thanks for your help.
 
In column C (New helper Column) enter =a1&b1 and Copy Down.
In Column D enter =IF(SUM(1/COUNTIF($C$1:$C$23,$C$1:$C1))=1,"***","")
and Copy Down.
HTH
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top