Hi stopher,
Thank you so much for your excellent explanation, this returns the values I was looking for.
No wonder I was struggling, I would not have come up with that. I wish I could think like a programmer but I find it hard as a newbie to access to think laterally in order to solve issues...