I am trying to search for multiple values in a cell and if it find one of them, I would like a text value assigned to the cell. Here is my formula so far.
=IF(ISNUMBER(SEARCH(OR("ADK","DHEA"),C1)),"MMG Supplement","")
I would like it to search C1 for the text value "ADK" or "DHEA" and if it finds either, I would like it to return value "MMG Supplement.
However, it isn't working. What is wrong with my formula?
=IF(ISNUMBER(SEARCH(OR("ADK","DHEA"),C1)),"MMG Supplement","")
I would like it to search C1 for the text value "ADK" or "DHEA" and if it finds either, I would like it to return value "MMG Supplement.
However, it isn't working. What is wrong with my formula?