View Single Post
 
Old 11-26-2018, 05:55 PM
MKTGCLOUD MKTGCLOUD is offline Windows 10 Office 2013
Novice
 
Join Date: Nov 2018
Posts: 5
MKTGCLOUD is on a distinguished road
Default

Quote:
Originally Posted by ArviLaanemets View Post
Maybe a single column (and formula) will do?

Code:
=IF(
     IFERROR(1*(FIND("doctor",$A2)>0),0)+IFERROR(2*(FIND("professor",$A2)>0),0)=0;
     "",
     INDEX(
          {"doctor";"professor";"doctor and professor"},
          IFERROR(1*(FIND("doctor",$A2)>0),0)+IFERROR(2*(FIND("professor",$A2)>0),0)
     )
)
Thanks for the formula. This works on a singular column, but need to distinguish those keywords with a "doctor" and "professor" in it.
Reply With Quote