Chek if there is negative sign in the value then replace the whole string with 0 and then use Sum function.
May be use can use substring function to check negative sign or you can also check with "startswith" or "endswith" function.
For example, if the string startswith '-' or endswith '-' then replace the string with 0 and then use the Sum funciton.
Add a comment