If Statement

  • Thread starter Thread starter Trish Smith
  • Start date Start date
T

Trish Smith

Hi everyone,

Could anyone help me with this one please.

I would like I1 to have a letter A if the following is true;

A1 =A
and
E1 and/or F1 does not = A
and
G1 or H1 = A

Wold it be easier to have helper columns and do it in stages or can it be
done in one go?

Many thanks
 
Try this:

=IF(AND(A1="A",OR(E1<>"A",F1<>"A"),OR(G1="A",H1="A")),"A","")
 
Try this in I1:

=IF(AND(A1="A",OR(E1<>"A",F1<>"A"),OR(G1="A",H1="A")),"A","")

Hope this helps,

Hutch
 
=IF(AND(A1="A",OR(E1<>"A",F1<>"A"),OR(G1="A",H1="A")),"A","whatever you want
if the conditions aren't met")
 
Thank you Tom,

That's great!
--
Trish


Tom Hutchins said:
Try this in I1:

=IF(AND(A1="A",OR(E1<>"A",F1<>"A"),OR(G1="A",H1="A")),"A","")

Hope this helps,

Hutch
 

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

Back
Top