Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

IF condition with AND statement desn't work

Hello,

 

As you can see in the image, I think normaly we will need to have "1" as value when A = 2 and A = 4.

 

Do you have any idea why I got "0" even if the condition is true ?

 

 

Thank you

  • Anonymous 

    yuot statement says that Sheet1[A] has to be equal to 2 and 4 at the same time. It looks impossible 🙂

    Maybe you need OR logic, for that use || symbol, not && (AND)

2 Replies

  • az38's avatar
    az38
    Icon for Community Champion rankCommunity Champion

    Anonymous 

    yuot statement says that Sheet1[A] has to be equal to 2 and 4 at the same time. It looks impossible 🙂

    Maybe you need OR logic, for that use || symbol, not && (AND)

    • Anonymous's avatar
      Anonymous
      Not applicable

      Okay thank you az38 for your answer.