I have a file and I want the data in which only the values 0,1,2 should be displayed and other data should be blank.
Input Data: OutPut Data
A B A B
Sam 1 Sam 1
John 0 John 0
Tom 4 Tom
Dan 2 Dan 2
Ravi 7 Ravi
Sunny 0 Sunny 0
Han 1 Han 1
This is the output I want, I am trying with If Else condition :
IF [B] = 0
THEN "0"
ELSEIF [B] = 1
THEN "1"
ELSEIF [B] = 2
THEN "2"
else ""
endif
This statement is giving parsing error due to string data, how can I solve this ?