I wantswant to compare (500) and find duplicate daily records within 2 sheets, and copy the unmatched row to another sheet, copy the match from another to 3rd sheet, and delete the matched records from original sheet.
I wantswant to compare Column B (unique) and column A of worksheet "results" to " Master List" flow would be- Match a first cell value in column B of "results" to Column B cell values of " Master List" If match found - compare column A of "results" to Column A cell values of " Master List" if match found Copy the row of Match from "Master List" for Column A to O to Next available row of "FOllow Ups" And mark the match row in "results" to be deleted in the end when search loop finished.
Else if match not found check next value in column B of " result" until last recordThe flow would be:
when whole search end delete marked records for match found in "results" and copy all the left out records to Next available table row in "Master List"
Match a first cell value in column B of "results" to Column B cell values of " Master List"
- If match found - compare column A of "results" to Column A cell values of " Master List"
If match found
- Copy the row of match from "Master List" for Column A to O to next available row of "Follow Ups"
- Mark the match row in "results" to be deleted in the end when search loop finished
Else if match not found
- check next value in column B of " result" until last record
When whole search ends, delete marked records for match found in "results" and copy all the left out records to Next available table row in "Master List".
I am kind of stuck and don't want to run in long loop, looking for expert help with shortest and fastest possible code. Here Here is some code already written and working, but not working well.
Thanks in advance for your help. IfIf possible -optionaloptional approach (Cancan both column value jointly compared with another sheet):