
Originally Posted by
bgonen
With the code below I am able to match cell A1 in worksheet:"DataByCC" with values range on column A to the last used cell on that column (col A)
The above is not strictly true (first sheet only) but the logic is sound in so far as every value in DataByCC!A:A currently matches that of DataByCC!A1 and thus the Match against DataByCC!A:A is effectively the same as testing =DataByCC!A1
Regards your question, without wishing to modify your approach too much, if the intention is to test only against DataByCC!A1 why not invert the Logic such that you match DataByCC!A1 against A:F on the sheet/row being iterated ?
Persisting with your existing Match:
given the new A:F test is likely to lead to erroneous results as not all the values in DataByCC!A:A will match that of DataByCC!A1
Bookmarks