How can I transfer the minus sign of each value in columns if the number is negative. Any input are appreciated. Tnx
SampleTable.xlsx (10.2 KB)
How can I transfer the minus sign of each value in columns if the number is negative. Any input are appreciated. Tnx
Hi,
Can you try the following sample?
CurrentRow(col) = Double.Parse(System.Text.RegularExpressions.Regex.Match(CurrentRow(col).ToString,"^[\d.,]+").Value,System.Globalization.NumberStyles.Any)*(CDbl(System.Text.RegularExpressions.Regex.IsMatch(CurrentRow(col).ToString,"-"))*2+1)
Sample
Sample20240321-5 (3).zip (11.5 KB)
Regards,
It worked! Thank you for the help!
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.