LEN() function error

Hi there,
I am trying to put a LEN() formula inside of the IF() but this error appears:
“LEN function is used incorrectly”
Formula looks like this:
IF(
AND(
LEN([Z])=7;
IN([Z],xyz[Z]));
[A]<>“B”;
[A]=“A”
)
Am I doing sth wrong? It htis article:

the LEN() formula looks the same. Cannot find the solution. Please help me guys.
Mat

Maybe this?

2 Likes

Probably that is the answer. I haven’t seen that. Thank you!

2 Likes

Ups, sorry guys but it is not the answer. This column now is a text and still the same error. I have no more ideas.

1 Like

Please post screenshot of the error.

Error is the same

“LEN function is used incorrectly”