I’m trying to search a string for text and set another cell’s value based on whether or not it was found. For simplicity I have tried to make it work in only a 1 case as follows:
=IF(FIND(“hello”,A1),1,2)
When A1 contains the word “hello” a 1 appears in B2, however if it doesn’t I get #VALUE! instead of the 2 I was expecting. I’ve obviously misunderstood something about the IF function, I just can’t figure out what or why. I am using Version: 5.2.3.3 of Calc.
Thanks for your help