How to use nested for each loop in mentioned Scenario?

Hi @Prabin_Chand ,

Could you maybe provide input and Output example data for this Scenario? If you could provide us the Excel Sheets it would be quicker for us to assess the logic and provide you a better solution.

On a glance of your requirement, it does seem that you could perform these task using Join Datatables Activity as well, and then performing the required update using a Single For Each Activity.

A Similar Logic is used in the below Post :

Let us know if this doesn’t help.