From my knowledge of other programming languages this should seem simple enough....but of course I can't make it work...
My goal is to take one array of data, store the value then see if that value is in another array by looping through that array.
If it finds it, it simply adds 1 to a specific column. I define all the variables except cell and cellf because I'm sure not 100% sure how these for loops work?
Any ideas?
My goal is to take one array of data, store the value then see if that value is in another array by looping through that array.
If it finds it, it simply adds 1 to a specific column. I define all the variables except cell and cellf because I'm sure not 100% sure how these for loops work?
Code:
For Each Cell In Worksheets(1).Range("E2:E40")
mcTicker = Cell.Value
For Each CellF In Worksheets(3).Range("B3:B503")
mcTicker2 = CellF.Value
If mcTicker = mcTicker2 Then
Range("M" & Cell.Row) = Range("M" & Cell.Row).Value + 1
End If
Next
Next
Any ideas?