Excel - IF function w/ 'and' condition
Hello, I am trying to set up an IF statement that has two conditions. I read a prior thread that was helpful, but I cannot get mine to work.
My two logical tests are as follows for variables let's call x and t:
if x>(y-.5)
and if (r-2)<t<(r+2.5)
then output "A" else "B"
does that make sense? here is my formula...
=IF(AND((O37>(Q37-.5)),((G37-2)<M37<(G37+2.5))),"A","B")
thank you for any suggestions you may have
Hello, I am trying to set up an IF statement that has two conditions. I read a prior thread that was helpful, but I cannot get mine to work.
My two logical tests are as follows for variables let's call x and t:
if x>(y-.5)
and if (r-2)<t<(r+2.5)
then output "A" else "B"
does that make sense? here is my formula...
=IF(AND((O37>(Q37-.5)),((G37-2)<M37<(G37+2.5))),"A","B")
thank you for any suggestions you may have
Last edited: