Forum Discussion

BrieHugger's avatar
BrieHugger
Copper Contributor
Dec 28, 2022

Someone Help Me with =IF(AND(X,Y),T, F) Function

Hey all,

I'm just trying to get an If/And function working, and it seems like I do - However when I apply the equation to different numbers, it's incorrect.  Here's a sample:

 

=IF(AND(C17>3,D17>3),TRUE, FALSE)   where C17=1 and D17=2   returns "TRUE"

BUT

=IF(AND(C19<3,D19<3),TRUE, FALSE)   where C19=1 and C19=5   returns "TRUE"

 

This happens when the inverse is true as well, so I'm pretty sure it has something to do with the formula phrasing itself.  

 

Thanks!@

Resources