imbedding AND OR statements

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have 2 equations that basically say:
=IF(AND(A1=A2,(OR(A3<>A1))),True,False)
=IF(AND(A10=A11,(OR(A12<>A13))),True,False)
These work fine on their own.
How can I combine these equations into one cell that IF the first equation
OR the second equation is true, it will return "True"?
 
Try:

=IF(OR(AND(A1=A2,A1<>A3),AND(A10=A11,A12<>A13)),TRUE,FALSE)

--
HTH

Sandy
In Perth, the ancient capital of Scotland

(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk
 
If you want the True/False represented as text, try

=TEXT(OR(AND(A1=A2, A3<>A1), AND(A10=A11, A12<>A13)), "General")
 
AND/OR functions already return True/False. No need for an IF statement.
Try:

=OR(AND(A1=A2, A3<>A1), AND(A10=A11, A12<>A13))
 
This equation works.
Thanks a lot,
Josh

Sandy Mann said:
Try:

=IF(OR(AND(A1=A2,A1<>A3),AND(A10=A11,A12<>A13)),TRUE,FALSE)

--
HTH

Sandy
In Perth, the ancient capital of Scotland

(e-mail address removed)
(e-mail address removed) with @tiscali.co.uk
 
Back
Top