This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I have a file in which I have to add a new field "Index2" . So I used the Formula tool and wrote "IF [Index] == '5' and [Index] == '5.1' THEN 1 ELSE null() ENDIF" But it gives only null values. I want to check both values and not one. Hence, I use "and". When, I use Boolean operators- or ,OR , || , it gives values for [Index] == '5' only. So, how do I get the value 1 if both conditions are true? If both condition are not satisfied then the output should be "null".