I am trying to create a new column to return an "N" if there is a 0 in the column and a "Y" if there is any other value.
I am trying to write an IF statement to do this, however, I keep coming up against the error message "An operator must be between operands". This is the formula I was trying:
IF ([RegEx1]= "0" THEN "N" ELSEIF ([RegEx1] THEN "Y" ENDIF
IF ([RegEx2]= "0" THEN "N" ELSEIF ([RegEx2] THEN "Y" ENDIF
I am struggling to understand how to resolve this. I was looking around the community and have tried changing the data type between V_String and Double but neither way is working.
I have attached some sample data which shows the data in the columns and the desired outcome. Any help would be much appreciated