Archive of Mr Excel Message Board
Any ideas how to go about achieving this?
Thanks a lot for your help
Andonny

Aladin
=====

Thanks for your help
Andonny
A
2
1
3
1
2
B
1
3

(1)
In D5 enter: =IF(COUNTIF(A5:A9,B5)=1,1,0)
Copy down as far as needed. This marks all unique items in B that are also unique in A.
This logic can also be used in Conditional Formatting that you can apply to the data cells of A.
(2)
In A2 enter: =COUNTIF($A$5:$A$12,B5)=1
In A4 enter: RecsA [ just a label ]
In B4 enter: RecsB [ just a label ]
Activate A5, activate Adv Filter.
List Range: $A$4:$B$12
Criteria range: $A$1:$A$2
Copy to: $F$4:$G$4 [ After checking Copy to another location ]
My worksheet looks like this after using both methods (the area is A1:G9):
{0,0,0,0,0,0,0;FALSE,0,0,0,0,0,0;0,0,0,0,0,0,0;"RecsA","RecsB",0,"Match",0,"RecsA","RecsB";2,1,0,0,0,1,3;1,3,0,1,0,0,0;3,0,0,0,0,0,0;1,0,0,0,0,0,0;2,0,0,0,0,0,0},
where 0 stands for blank.
Aladin
=============
