I've already got the solution to the particular example you gave. I'll send it to you right away if you'd like to commission my help? You can test it immediately.
If you have other examples, I'll let you know how to customize the formula.
Thanks, obrigado, for your kind consideration.
Best,
Sylvester