Compare 2 excel sheet

I have 2 excel sheet with some different data I want to compare that sheet and write the status on 2nd sheet.

Here I want to use nested for each datatable to compare both sheet

Please do this process with for each datatable

can you elaborate little clear ?

Actually I have 2 excel sheet in which i want to compare that excel sheets and write the status if data is same in both sheet then status is ‘already exist’ if data is not match in both sheet then status is ‘not exist’

But i have condition i.e. i have to use for each datatable for comapring the sheets

we can do it with for each and/or a LINQ statement

just provide some sample data and expected output description with us. Thanks

Please take sample data as per your according