Hello, I want to know if there is a formula to identify a text within a link cell, in this cell conditions that a home meets appear. Example: unreleased, released, foundation, walls, roof, finishes, finished. I want the formula to identify if the cell evaluated says without releasing the result is UNSTARTED, if it contains released the result is IN PROCESS or if it contains finished, the result is TERMINATED. I have tried with the IF formula, but I have not succeeded. Thank you
Help!
Best answer by Alexey_Gusev
Hi,
It depends on what does it mean “not succeeded”? You couldn’t create formula at all? Or it works, but not quite correct in some cases?
Actually, you can use
IF(FIND(‘something’, {FieldName}) as condition
or IF({FieldName}, - to check for ‘non-emptiness’. It’s good to start from it.
You can use REGEX functions as well, in your case it’s almost the same, in many cases REGEX have more advantages, but FIND is more clear for beginners.
Try to think in terms of ‘guard clauses’, like ‘if it contains “finished”, it should be TERMINATED, no matter what about released. That’s why in formula above this condition goes second.
The problem why your formula might not work 100% as expected, same as formula above - because ‘unreleased’ contains ‘released’.
There are several ways to solve it - by substituting value in formula or maybe by using ARRAYJOIN with a given divider. Link is array, in formula it turns to string in the form of ‘messofvalues’. With AJ, you can set “, “ as divider and do the proper search.
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.