I have four columns Name
, Y/N
, NameList
and Result
, e.g.:
A B C D
Name Y/N NameList Result
Abc Y Xyz N
Xyz N Wto N.A
Def Y Abc Y
Tow N.A
Wtf N.A
Qrz N.A
Def Y
I want to fill up column D (Result) according to column B if A and C match. I have tried LOOKUP, VLOOKUP and MATCH but still do not get what I want, e.g.:
=INDEX($B$2:$B$51,MATCH($A$2:$A$51,$C$2:$C$75,0))
What am I doing wrong here?