• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

hot to compare a cell and data in column to get value 1 if true and o if false

CHARAN

New Member
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
 
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))
 
Back
Top