O
oldjay
I give up. I can't get the correct formula
If A1 =1 And A2 OR A3 =2 then A4 =4 otherwise A4 =""
If A1 =1 And A2 OR A3 =2 then A4 =4 otherwise A4 =""
oldjay said:I give up. I can't get the correct formula
If A1 =1 And A2 OR A3 =2 then A4 =4 otherwise A4 =""
smartin said:Do be careful how you explain logical conundrums.
Strictly speaking, your question should be parsed as
If (A1 =1 And A2) OR A3 =2 then A4 =4 otherwise A4 =""
because AND takes precedence over OR.
Somehow I think you really meant
If A1 =1 And (A2 =2 OR A3 =2) then A4 =4 otherwise A4 =""
In which case I would write in A4: