Hi,
I have a column name amount, with positive and negatives value.
How to separate the column into those with bracket and vise versa?
Thanks
Hi,
I have a column name amount, with positive and negatives value.
How to separate the column into those with bracket and vise versa?
Thanks
Hi @mashy2
You can follow the below steps.
Int32.Parse(Row(“ColumnName”).ToString) < 0
If so, use assign activity to add the value to new column and clear the value in the current column
Note: in the if condition why I gave it as <0 is because it looks like the brackets are there because of the column formatting of the excel. But in the formula bar, you might be having a negative value. So use the condition according to the value you have in the formula bar because excel formatting is not considered once the data is in a data table
Hope it helps…
Hi,
How to do this part?
assign activity to add the value to new column and clear the value in the current column
Thanks!
in the For each row, and inside the IF condition
Assign the value to new column
row(“NewColumnName”) = row(“OldColumnName”)
Clear the value in old column
row(“OldColumnName”) = “”
thanks so much
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.