If UBound(Filter(myArray, Sheets(i).Cells(1, j).Value, True)) = -1 Then \'take action End if
I used this syntax to compare an element found in Cel
IsInArray = Not IsError(Application.Match(stringToBeFound, arr, 0))