Hi all,
This looked like an easy one but I'm stuck. My data contains a variable (let's call this variable 'cratn'). This variable contains text (string) which could be No, Yes, Maybe.
I want to drop an entire row of data if the value of the variable (cratn) for that row says "No."
I tried to use
drop if cratn ==No
But this returns an error: No not found (r111).
What am I doing wrong, please?
Thanks in advance.
This looked like an easy one but I'm stuck. My data contains a variable (let's call this variable 'cratn'). This variable contains text (string) which could be No, Yes, Maybe.
I want to drop an entire row of data if the value of the variable (cratn) for that row says "No."
I tried to use
drop if cratn ==No
But this returns an error: No not found (r111).
What am I doing wrong, please?
Thanks in advance.

Comment