Hi @riyatona18
Please check this implementation. Not so optimized but will work.
- Read the excel files to respective data table variables (DT1, DT2)
- Create column name array and get the names of columns
- Create the output data table template (Clone method)
- Iterate through the rows and column and compare each item of both the tables.
- Add the row to the output table
- Write the output to excel file
DT_ComparisonTwoDataTables.zip (17.0 KB)