imbedding AND OR statements

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"?
 
S

Sandy Mann

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
 
G

Guest

If you want the True/False represented as text, try

=TEXT(OR(AND(A1=A2, A3<>A1), AND(A10=A11, A12<>A13)), "General")
 
G

Guest

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))
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top