The problem is that your regex returns a string, not a number. Use VALUE({Monto Texto}) to extract the figures instead of parsing the cells like you are now. And play with the Monto Texto formatting (just double click the field and you’ll see it, you’ll want to set the output to currency) if the commas and periods cause any errors. They might, but I’m on mobile right now so can’t verify.
EDIT: Type errors are some of the most common causes of bugs in all of programming. No-code platforms included.
Basically, 2 and “2” mean different things to computers and while JavaScript and JS-based tech like Airtable formulas coerce types whenever possible (by trying to guess what we want if e.g., we write 50 + ‘$’), computers are still pretty bad at inferring stuff like “two + 5”.
The problem is that your regex returns a string, not a number. Use VALUE({Monto Texto}) to extract the figures instead of parsing the cells like you are now. And play with the Monto Texto formatting (just double click the field and you’ll see it, you’ll want to set the output to currency) if the commas and periods cause any errors. They might, but I’m on mobile right now so can’t verify.
EDIT: Type errors are some of the most common causes of bugs in all of programming. No-code platforms included.
Basically, 2 and “2” mean different things to computers and while JavaScript and JS-based tech like Airtable formulas coerce types whenever possible (by trying to guess what we want if e.g., we write 50 + ‘$’), computers are still pretty bad at inferring stuff like “two + 5”.
OMG! I cant believe it was that easy! I was stuck with this for several hours trying everything.
Thanks!

OMG! I cant believe it was that easy! I was stuck with this for several hours trying everything.
Thanks!

OMG! I cant believe it was that easy!
Typing can be deceptive, but yeah, keep an eye out for that kind of stuff. It gets way more annoying to debug as your setup grows in complexity.
Here’s a meme with a relevant bit of trivia, keep your spirits up.
