How do I lookup to see if any of the values in a list exist in a cell?
Currently I use this formula but I am sure there is an easier way to do it
The list on a worksheet named "List".
=IF(OR(ISNUMBER(SEARCH(List!$A$1,A2)),ISNUMBER(SEARCH(List!$A$2,A2)),ISNUMBER(SEARCH(List!$A$3,A2)),ISNUMBER(SEARCH(List!$A$4,A2)),ISNUMBER(SEARCH(List!$A$5,A2)),ISNUMBER(SEARCH(List!$A$6,A2))),1,"")
I need to check the cell in column A of a worksheet to see if it contains any of the values in a list on worksheet "List", if so return "1".
Your help is greatly appreciated.
Currently I use this formula but I am sure there is an easier way to do it
The list on a worksheet named "List".
=IF(OR(ISNUMBER(SEARCH(List!$A$1,A2)),ISNUMBER(SEARCH(List!$A$2,A2)),ISNUMBER(SEARCH(List!$A$3,A2)),ISNUMBER(SEARCH(List!$A$4,A2)),ISNUMBER(SEARCH(List!$A$5,A2)),ISNUMBER(SEARCH(List!$A$6,A2))),1,"")
I need to check the cell in column A of a worksheet to see if it contains any of the values in a list on worksheet "List", if so return "1".
Your help is greatly appreciated.