Here's an interesting finding:
The first formula works if all the data have parenthesis, if not it will trip.
The second formula works with or without parenthesis, but those without parenthesis will generate 0 instead.
Either way, I will make sure the related database comes with parenthesis. Thanks for your help!