Chewyhairball
Active Member
- Joined
- Nov 30, 2017
- Messages
- 312
- Office Version
- 365
- Platform
- Windows
Hi
I have the following formula in cell S7 which if the information in cell R7 contains the word "liquid" it populates the word liquid to S7
e.g cell R7 might contain "liquid, hazardous, waste" in which case S7 will show "liquid".
I am trying to figure out how to do this so it also looks for "Solid" and "gaseous" and populates the found word into S7
There will only ever be one of these words in R7 so it will either be "liquid, hazardous, waste" or "solid, hazardous, waste" or "gaseous, hazardous, waste"
I need it to find out which of these words it contains and put it into cell R7
thanks in advance
Rory
I have the following formula in cell S7 which if the information in cell R7 contains the word "liquid" it populates the word liquid to S7
e.g cell R7 might contain "liquid, hazardous, waste" in which case S7 will show "liquid".
Excel Formula:
IF(ISNUMBER(SEARCH("liquid",R7)),"Liquid","")
I am trying to figure out how to do this so it also looks for "Solid" and "gaseous" and populates the found word into S7
There will only ever be one of these words in R7 so it will either be "liquid, hazardous, waste" or "solid, hazardous, waste" or "gaseous, hazardous, waste"
I need it to find out which of these words it contains and put it into cell R7
thanks in advance
Rory