If I have a string to find in a cell such as:
[Agent Name & ID: Christopher Montaray - 1011]
… and I use the
IF statement, can I search for a part of it? For example:
You need to use SEARCH or FIND, which will return the position of the start of the string you want to locate, or an error if the string is not present. e.g.
You can then use IFERROR or another function like that to handle the error case.
You could also use COUNTIF function with a wildcard which will give you 1 or 0 directly