Indicating flag in excel sheet

I am basically using to for loops in my workflow. My workflow matches the data of two different excel sheets and then write the matching rows in one excel sheet and not matching in the other one. The problem is that in the not matching excel sheet some of the data is of matching.New XLSX Worksheet (2).xlsx (8.5 KB) New XLSX Worksheet.xlsx (8.5 KB)
These are the excel sheets.
Main.xaml (46.5 KB)
This is my workflow.Check the first nested for loops

Kindly have a view on this thread

Cheers @Abad_Sid

Kindly plz check my workflow.