VBdotnet2005
asked on
Excel - compare columns
In Excel, is there a way to compare column A and B and highlight if the different?
sample
accountnumber_A accountnumber_B
12345 11111
7890 22222
2222 12345
etc
sample
accountnumber_A accountnumber_B
12345 11111
7890 22222
2222 12345
etc
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If it's the former you can just use
=A2=B2
or to compare A2 against any value in column B
=COUNTIF(B:B,A2)>0
You can use either formula on the worksheet and copy down the columns......or use within conditional formatting to format the relevant cells as required
regards, barry