Object reference not set to an instance of an object.



It is failing at if condition where I am checking with concatstring contains currentitems.
This step I am checking to see if we have any duplicates.
Please assist if there is any other way to find duplicates in an excel sheet.