Hi everybody!
I would like to write a formula to scan Column, Description, pick up various text strings, and return a "YES" if one of them is present and "NO" if not present. The text strings of interest are only part of the data in the Column, Description. I am interested in all forms of the same thing, "40 oz", "40 ounce", etc. I want to return YES if any of these are present.
I wrote the following formula,
If(
N Rows/*###*/(Contains(
{"40 oz" ; "40 ounce" ; "40oz" ; "40 Ounce" ; "40 Oz" ;
"40 OZ"},
Empty()
)) > 0,
"Yes",
"NO"
)
However, JMP returns NO for all rows even ones where I can see the descriptions I have captured above. Is there a way to use "LOCATE" that would be better for this?
Thanks!