Forum Moderators: phranque
If you can change one of the restrictions on the problem you could use the lookup function to determine the location of the matching value. This would then tell you if the value existed in the other list and where.
Does this help?
..... Shane
The way I read your question is this:
Start with this>
A B
1 5
2 4
3 2
4 6
5 1
Assuming you have no duplicates, I think VLOOKUP may help you. Put Column B in a separate section of spreadsheet or a different tab, sort it in ascending order, name the range (for instance "B_Values" in my formula Below), then past the VLOOKUP formula next to all your Column A Values and you will get something like what is below:
Want to End with This>
AB
11
22
3#N/A
44
55
Formula: =VLOOKUP(A1,B_Values,1,FALSE)
Better yet, if you have MS Access, import them both into a database. Make column A and B separate tables and just do queries to generat tables of Matched and Unmatched records.
Jas0n