Hello Jon,

I was stuck in this problem for an hour and then I found your solution. Thank you a ton for saving me. It works perfectly on Excel 2019

Take care

Adib