After several days working on my first User Defined Function ("UDF"), I finally got one working as expected. My function has the purpose of simplifying an "In