This is exactly what I wanted this formula to achieve, you have saved me countless hours with this.

Thanks very much!