John Powers Posted June 14, 2020 Share Posted June 14, 2020 Hi, I am trying to make a new calculated [Column2] by searching for "Text1" or "Text2" in [Column1] and if either "Text1" or "Text2" is found, then return me an integer 1 -- If([Column1] = "Text1" or [Column1] = "Text2", 1) -- So, obviously it doesn't work... please kindly help. I am not well-versed in the logic language here. Thanks in advance, John Link to comment Share on other sites More sharing options...
Dayz Hsu Posted June 15, 2020 Share Posted June 15, 2020 If(String([Column1])="Text1" OR String([Column1])="Text2",1) avoid variable type error just in case Link to comment Share on other sites More sharing options...
John Powers Posted June 16, 2020 Author Share Posted June 16, 2020 Thanks! It worked. I guess you have to identify what type of data is in the column with "String" Link to comment Share on other sites More sharing options...
John Powers Posted June 16, 2020 Author Share Posted June 16, 2020 Thanks! John Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now