where the writerange is placed? Is that acitivity inside the loop?
This is because you’re using one for each row in another for eact row.
i can separate them and use for comparing
try to change the Add DataRow activity outside the 2nd loop.
i did it but same output
Main.xaml (17.3 KB) img.xlsx (8.7 KB) match.xlsx (8.6 KB)
this is my output in total2 column i am getting wrong column values can anyone help me in solving these @Dave @Kalees9486 @samirHi @Manisha541
In the if statement please check the invoice number also matched instead of total, because same amount may repeat.
just like this
row1("Total").ToString = row2("Total").ToString & (row1("invoice").toString = row2("invoice").ToString)
Try the above line
thanks @anoopap for helping me but there is no change in output after replacing the above line
it worked but i dont want to overwrite in same datatable img dt i want it in new data table with compared columns and output@anoopap
@Manisha541
Build a new datatable and use add data row just like you did in the existing workflow.
the result excel is empty values
Thank you @anoopap @Kalees9486 for your continuous support in helping me to solve my issues in the workflow,thanks a lot:blush: