Hi all,
I would like to check (in an if environment) whether a certain value of var2 appears somewhere in var1 and consequently mark it in var3;
If possible also using a by operator to check that for specific region within var1.
Thus if there is an 8 of 5 in var1, set var3 to 1 in the specific row as can be seen below:
I don't know if there is a simple expression or if I have to go there "by foot" with some help-variables.
Thanks
Tim
I would like to check (in an if environment) whether a certain value of var2 appears somewhere in var1 and consequently mark it in var3;
If possible also using a by operator to check that for specific region within var1.
Thus if there is an 8 of 5 in var1, set var3 to 1 in the specific row as can be seen below:
var1 | var2 | var3 |
0 | ||
1 | ||
2 | ||
3 | 8 | 1 |
4 | ||
5 | 10 | |
6 | ||
7 | 5 | 1 |
8 | 11 | |
9 |
I don't know if there is a simple expression or if I have to go there "by foot" with some help-variables.
Thanks
Tim
Comment