Excellent thanks again, my workbook is so large that it took a while to process everything. Your formula works just how you described!