J
JoeM
I have a number of ids in two columns and am trying to represent which ones
in the second column also appear in the first.
in the second column also appear in the first.
JoeM said:I have a number of ids in two columns and am trying to represent which ones
in the second column also appear in the first.
T. Valko said:One way...
Comparing column B to column A with the list in column A in the range
A1:A20.
=IF(COUNTIF(A$1:A$20,B1),"match","")
Harlan Grove said:And the slow way . . .
Bit faster to use
=IF(COUNT(MATCH(B1,A$1:A$20,0)),"match","")
or just
=MATCH(B1,A$1:A$20,0)
which would return a number when there's a match and #N/A when there
isn't.