Thank you for the interesting solution approach! I will try it out. In the meantime, I have found a simple solution, thanks to MWillWallT