I can't seem to figure out why my nested if with AND formula isn't working. I'll explain it in words and hopefully you can help me out:
1) If value in cell A12 matches value in the vlookup formula AND
2) each of the values in the following cells C12,D12,H12,I12,AC12,AE12,AF12,BD12,BF12,CB12,CX12 is greater than zero, then return the value YES,
3) If If value in cell A12 matches value in the next vlookup formula AND
4) each of the values in the following cells C12,D12,O12,P12,AL12,AM12,AN12,AO12,BL12,BM12,BN12,CI12,CJ12,DE12 is greater than zero, then return the value YES
5) same goes for the next set of formulas..
.
.
8) Otherwise return blank or NO
Note: if (2) returns Yes, (4) won't return yes because A12 won't match the new vlookup in (3)
if(and((vlookup($A12,'Group Info'!$A$14:$D$1026,4,0)=$CW$8),(C12,D12,H12,I12,AC12,AE12,AF12,BD12,BF12,CB12,CX12)>0),"Yes",if(and((vlookup($A12,'Group Info'!$A$14:$D$1026,4,0)=$DD$8),(C12,D12,O12,P12,AL12,AM12,AN12,AO12,BL12,BM12,BN12,CI12,CJ12,DE12)>0),"Yes",if(and((vlookup($A12,'Group Info'!$A$14:$D$1026,4,0)=$dk$8,(C12,D12,V12,AU12,AV12,AW12,AX12,BT12,BU12,BV12,CP12,CQ12,DL12)>0),"YES",""))))
I keep getting #ERROR! message.
Thanks in advance!
Bookmarks