I'm working with some SNPs and like the title, I want to see if Column C matches Column A or Column B and if it does, return that match in Column D. If there is no match return 0 in Column D.
I tried this and failed:
=IF(COUNTIF(C1:C1,A1 or B1),A1 or B1,0)
I also attempted:
=IF(COUNTIF(C1:C1,OR(A1,B1)),OR(A1,B1),0)
also failed
Bookmarks