Hi PietBom - Thank you for working so hard on this. What I actually need is the formula in G7. I think I have it now. Once again, many thanks for your excellent help!