I'm sorry, I should have mentioned that I am not proficient at excel.

How do I incorporate your formula into the one I have? I've tried to but get errors. I also tried to put yours in B cells but I get circular error messages.

Thanks again.