C CHARAN New Member Jul 12, 2011 #1 i want to compare a data in a cell a1 with data in a colum b1to b100 and get 1 if both data are equal and o if they are not equal
i want to compare a data in a cell a1 with data in a colum b1to b100 and get 1 if both data are equal and o if they are not equal
Luke M Excel Ninja Staff member Jul 12, 2011 #3 To clarify, you want to know is value in A1 is found anywhere in B1:B100? Fred's formula works for that, or this one: =1*ISNUMBER(MATCH(A1,B1:B100,0))
To clarify, you want to know is value in A1 is found anywhere in B1:B100? Fred's formula works for that, or this one: =1*ISNUMBER(MATCH(A1,B1:B100,0))