Hi @jwatte and @chrudimer
I was testing a few days your solutions and both were very helpful. Thank you very much for your help.
THE SOLUTIONS:
Solution 1:
Solution 2:
Solution 3: