As per the below snap i have same account name but different entitlement name. Once after checking i have to update the “state” column for every row. Currently i am using below excel application for updating but it is overwriting in same cell.Can anyone please help me to solve this issuse.
use datatable, use read range and take all the data into datatable, and iterate all the rows, based on your condition update the column values and after for each row write this updated datatable to excel.
mark this as the solution if it helps
Happy Automation.
Then check your lookup data table index what it is coming, if the headers included in it you have to do +2 to Aveska_OutputValue (ex- Aveska_OutputValue + 2) so that it can update in excel.
To update in on Cell use write range activity and give address as “C” + Aveska_OutputValue.ToString
So it will overwrite the cell value only and that’s correct.
If you want this should be reflected on each cell then you have to use foreach row and iterate each value one by one and update it’s value with respect to column.
If you want to process each record one by one then you have to use for each row so that you can get the index and that can be used as your cell value or directly you can update data row and then write it to excl