I have names that are listed with salutations (ex. Mr. Mrs. Dr.). I am struggling with a formula that will search for the existence of those text strings, and, if one exists, return the salutation.
So, I would like the formula to look at "Dr. Nancy Briggs," and return "Dr."
Versions I have been trying include: =IF(ISNUMBER(SEARCH({"Mr.","Mrs.","Dr."},C13)),LEFT(C13,FIND(" ",C13,1)-1),"")
=IF(OR(ISNUMBER(SEARCH("Mr.",C24)),ISNUMBER(SEARCH("Mrs.",C24)),ISNUMBER(SEARCH("Dr.",C24))),LEFT(C24,FIND(" ",C24,1)-1),"")
- the salutations are always at the front, so I can extract them using the LEFT function. But, ideally, I would like to extract them from anywhere.
The second formula works, but is clunky. Your help is so very much appreciated!