Hello All,
I am trying to have a formula that will check whatever is in a cell, if it is one multiple criteria, then I want it to return something else each time it appears.
So if I have 5 cells:
Dog Barks
Cat Purrs
Mouse Squeaks
Cat Purrs
Dog Barks
The left column contains one of several different words, I want to have it return a value in text (like in green above) depending on the variable in the first column.
I know:
=IF(ISNUMBER(SEARCH("Dog*",A1)),"Barks","")
Would work for the first one, but I am trying to figure out out to get it to move to the next one if the cell is not "Dog"? I need column A to be dynamic so if I changed the first one to "Cat," it would return "Purrs" in the second column.
Thanks in advance if you can figure this out for me!
I am trying to have a formula that will check whatever is in a cell, if it is one multiple criteria, then I want it to return something else each time it appears.
So if I have 5 cells:
Dog Barks
Cat Purrs
Mouse Squeaks
Cat Purrs
Dog Barks
The left column contains one of several different words, I want to have it return a value in text (like in green above) depending on the variable in the first column.
I know:
=IF(ISNUMBER(SEARCH("Dog*",A1)),"Barks","")
Would work for the first one, but I am trying to figure out out to get it to move to the next one if the cell is not "Dog"? I need column A to be dynamic so if I changed the first one to "Cat," it would return "Purrs" in the second column.
Thanks in advance if you can figure this out for me!