I am trying to find a method in which to detect 2 separate Text Strings within a given cell.
In a nutshell - user input on a form I have is not always what it could be.
So, if the expected answer would be "No Luck," some users will invariably enter "No Luck."
Unfortunately, according to the specifications I have been supplied, the latter is "acceptable..."
Below I'm including 2 snippets that work perfectly well independently of each other - the issue I am having is how to COMBINE them into a single statement (with AND somehow?).
I've tried quite a number of variations so far, but haven't come up with anything usable!
Thanks in advance!
In a nutshell - user input on a form I have is not always what it could be.
So, if the expected answer would be "No Luck," some users will invariably enter "No Luck."
Unfortunately, according to the specifications I have been supplied, the latter is "acceptable..."
Below I'm including 2 snippets that work perfectly well independently of each other - the issue I am having is how to COMBINE them into a single statement (with AND somehow?).
I've tried quite a number of variations so far, but haven't come up with anything usable!
Thanks in advance!
Code:
=IF(ISNUMBER(SEARCH("No",A1)),"Text String Found","Not present")
=IF(ISNUMBER(SEARCH("Luck",A1)),"Text String Found","Not present")