I am trying to create a formula that will enter specific texts, when the cell had certain keywords. I've seen a formula here, but I can't seem to add more texts to it.
What should be my formula below? My formula doesn't seem to work:
=IF(ISNUMBER(SEARCH("Mammals",A1)),"Mammals",""),(SEARCH("Reptiles",A1)),"Reptiles",""),(SEARCH("Birds",A1)),"Birds",""))
Keywords = Text
- Mammals Horse = Mammals
- Cat Mammals = Mammals
- Reptiles Frog = Reptiles
- Dove Birds = Birds