Thanks Moo, looked at the formulae so many times, yet I missed it repeatedly.

Thanks again for all your help.