Must've scared you off with my comments.
I did play around with it and I think it does what you want
Will wait for your comment on my first answer and maybe you're curious