I have created workflow based on your requirement please unzip and run check Test.xlsx file.
Here I took input for ColumnA,ColumnB and I added those two columns into ColumnC.
I hope you will get solution
if you have a datatable called dt_ExcelData, with columns: Name, Salary & Bonus and you need a new column called Total Salary (Salary + Bonus)
Use Add new Column activity “Total Salary” - at the required place in your workflow
Add an assign activity
Put this in the left-hand side of the assign dt_ExcelData.Columns(“Total Salary”).Expression
Put this in the right hand side “Income+Bonus”
After this point you should now have the calculated value for all rows in the table without using a loop.
The calculated column “Total Salary” is changing after writing it into excel
another problem I am having is that the two columns Income and Bonus in my case these columns have space like “Income Value” and “Bonus Value” so how to manage when the column names are having spaces
here we go!! one more doubt in excel activity
I need to do a calculation in 4 consecutive cells in a column.
by writing to each cell is a time consuming activity
Is there any other way???