I want to compare the data in two columns of the excel. If there is mismatched data in the columns, I want to highlight the mismatched data and extract the missmatched data.
I attached the sample excel file for reference as below.
If there is any solution or workaround, please let me know. Thanks. DataCheck_AgentComission.xlsx (60.9 KB)
hello @rohith.prabhu Thanks for your solution. I have got the mismatched data. Actually I want to find the data that is present on the colum1 and not present on the column2. Like the following example:
Is it possible to extract that kind of data? If there is any solution for the workflow, please share with me. Best regards.
@Zaw_Win_Htun1(From x in arrVals Select r = dtResult.Rows.Add(new Object(){x})).CopyToDataTable
use this to convert list or arr to datatable and write it in excel