Hello people,
I'm trying to make a list:
M
L
B
D
C
But what I want is that If I try to put M, L or B in the same column, it will show me and error like "Incorrect, Try again". And for example if i try to put M, D, C or any of the other combination it will send "OK", it doesn't have to be necessary in a message box, but it would be better.
I was using this:
=IF(OR(AND(A9:A11="M"),AND(A9:A11="L"),AND(A9:A11="B")), "Incorrect, Try Again","OK")
But when I try this it shows me Value!, what I want to know if this is right or do I have to use VBA (which I don't exactly remember how to use).
I don't think it's complicated, I just think I'm not sure how to write it
Thanks for your help.
I'm trying to make a list:
M
L
B
D
C
But what I want is that If I try to put M, L or B in the same column, it will show me and error like "Incorrect, Try again". And for example if i try to put M, D, C or any of the other combination it will send "OK", it doesn't have to be necessary in a message box, but it would be better.
I was using this:
=IF(OR(AND(A9:A11="M"),AND(A9:A11="L"),AND(A9:A11="B")), "Incorrect, Try Again","OK")
But when I try this it shows me Value!, what I want to know if this is right or do I have to use VBA (which I don't exactly remember how to use).
I don't think it's complicated, I just think I'm not sure how to write it
Thanks for your help.