For Each column but set a specific number of loops from specific columns?

Hello,

I am adding queue items to Orchestrator from Studio, but I need to be able to only capture the dates and amounts based on the # of installments. An example from the picture below… There are 6 installments. How do I go about only getting the dates and amounts 1-6 to add to the transaction item in Orchestrator? This way, I won’t have to add a bunch of empty dates and amounts that are not needed.

Thanks!

Have a look here

so when iterating over the datarows
we can catch:

datarow.ItemArray.Skip(CountFromAtoM).Take(NoOfInstallements*2)