Hello all,
I have a question regarding a combination of IF + OR.
Here is what I want:
Why does this not work? I mean, the formula should be logically correct, right?
I know that it will work if I do it like this:
But the problem is that this is longer. I have simplified this formula here, because my real formula is much much longer and I have a lot of formulas to get to the value that I want to use for my IF-statement.
Thanks in advance.
Best regards,
Bas
I have a question regarding a combination of IF + OR.
Here is what I want:
Code:
=IF(A1=OR("A","B"),1,2)
I know that it will work if I do it like this:
Code:
=IF(OR(A1="A",A1="B"),1,2)
Thanks in advance.
Best regards,
Bas