Hi Team,
In excel I want to move below cell value to above remaining unwanted cell value should remove, Please help me anyone for this.
BB column cell value to map AA and CC column
Input excel:
Expected output:
Regards,
Raja G
Hi Team,
In excel I want to move below cell value to above remaining unwanted cell value should remove, Please help me anyone for this.
BB column cell value to map AA and CC column
Input excel:
Expected output:
Regards,
Raja G
Hi @Raja.G
What i see is you are moving the crentrw column by one cell up. If that is the case just use a loop on datatable and first check if it is the first row then dont move else change the cell value of b coulumn using index then delete the rows that you dont want using delete row or filter with blank on all 3 columns
Cheers
Hi @RajKumar_DC ,
Please share correct xmal file, That above xmal not relevant one , please check share
Regards,
Raja G
Hi @Raja.G,
again
Sequence5.7z (2.0 KB)
@Raja.G Can you check .7z once plz ? I have attached above
Hi @Raja.G,
AA = dt1.Rows(indC-1).Item(“AA”).ToString
BB = Row(“BB”).ToString
CC = dt1.Rows(indC-1).Item(“CC”).ToString
Thanks,
Hi @RajKumar_DC ,
I didnt get clear picture of entire code so please share xmal file, else send entire code picture
Regards,
Raja G
Hi @Raja.G
See the workflow which raja gave in picture… use a loop on the original datatable you read from the excel.
Thwn inside loop use if condition to check if a and c is column is empty and b column has data
Then inside if write 3 assigns as above stated.
Then write a add data row there with the assigned values to a new datatable
Cheers
Not only empty “AA” empty column if suppose “AA” already filled that row also i want
Hi @Raja.G
Please follow the steps and see…add conditions to if as you need. As of now you need to add data as per middle row and move them to row above…so the new datatable you are creating will have exactly same…i would suggest you to try this first
Cheers
I added xmal above please check