I'm searching for a formula (If it exists) for the following Scenario: In a workbook, I have Sheet "A" and "B" In Sheet "A", on Cell "A1", I have "Rogers" In sheet "B", on cells "B1":"B20" i have a series of "FirstName LastNames"
What I'm Looking for is to run a search of Cell "A1" in book "A" in the range "B1:B2O" in book "B", if the content of Cell "A1" is found within that range, to return "Yes", and if it's not found, to return "No".
I have tried several combinations of SEARCH, FIND, ISNUMBER, IF, IF ERROR formulas, but none have worked for me, which led me to believe, I'm probably nto typing the correct formula.
Any help is highly appreciated.
There may be a prettier way to do this, but with an Array formula (CSE formula) you can do:
When entering that in press Ctrl+Shift+Enter. This will test each cell in the
B1:B20range to see if it containsA1. If it does it will not throw a#VALUEerror. The insideIFwill then report1which will be summed as more are found. At the end, the outerIFwill see if the number is greater than 0 and will sayYesorNo.