Try:
=IF(OR(AND(A2=A1,A3=A1),AND(A4=A1,A5=A1)),"Yes","N o")
"andyp161" wrote:
Hi There,
Is it possible to combine IF OR AND functions? I can combine IF with
AND and IF with OR but not all three.
E.g. Is it possible to put the following into a formula:
'IF A2 AND A3 = A1 OR A4 AND A5 = A1 return yes
Hope you can help.
Many thanks
--
andyp161
------------------------------------------------------------------------
andyp161's Profile: http://www.excelforum.com/member.php...o&userid=11654
View this thread: http://www.excelforum.com/showthread...hreadid=534558